56c3f1193f
'start_period' for 'healthchecks' was added in Compose file version 3.4, https://docs.docker.com/compose/compose-file/compose-versioning/#version-34 Bump docker-compose files' versions from 3.3 to 3.4 Without this, docker-compose (1.25 at least) returns ERROR: The Compose file './contrib/docker-compose/caddy.yml' is invalid because: services.db.healthcheck value Additional properties are not allowed ('start_period' was unexpected) |
||
---|---|---|
.. | ||
basic.yml | ||
caddy.yml | ||
Caddyfile | ||
README.md | ||
traefik.yml |
Docker-Compose Examples
Here are few Docker Compose examples:
basic.yml
: Basic examplecaddy.yml
: Use Caddy as reverse-proxy with automatic HTTPStraefik.yml
: Use Traefik as reverse-proxy with automatic HTTPS
docker-compose -f basic.yml up -d db
docker-compose -f basic.yml up