Added section to full-docker-example.md for Caddy v2. #595

Merged
konrad merged 3 commits from leggettc18/api:master into master 2020-06-22 04:48:02 +00:00
1 changed files with 3 additions and 10 deletions
Showing only changes of commit c6980a390f - Show all commits

View File

@ -260,22 +260,15 @@ services:
frontend:
image: vikunja/frontend
restart: unless-stopped
proxy:
image: nginx
ports:
- 80:80
volumes:
- ./nginx.conf:/etc/nginx/conf.d/default.conf:ro
depends_on:
- api
- frontend
restart: unless-stopped
caddy:
leggettc18 marked this conversation as resolved
Review

I guess you would not need the nginx proxy when using caddy? Could you remove that?

I guess you would not need the nginx proxy when using caddy? Could you remove that?
image: caddy
restart: unless-stopped
ports:
- "80:80"
- "443:443"
depends_on:
- api
- frontend
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile:ro

Please also add a depends_on section like the proxy has.

Please also add a `depends_on` section like the proxy has.
{{< /highlight >}}