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 10 additions and 10 deletions
Showing only changes of commit 5b0628233d - Show all commits

View File

@ -261,14 +261,14 @@ services:
image: vikunja/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
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 >}}