replace caddy-network by proxy... more convenient name

This commit is contained in:
Lorenzo 2022-02-05 13:44:46 +01:00
parent 90063b7f9b
commit 65c0fcf38c
2 changed files with 5 additions and 5 deletions

View File

@ -6,16 +6,16 @@ services:
- 80:80
- 443:443
environment:
- CADDY_INGRESS_NETWORKS=caddy
- CADDY_INGRESS_NETWORKS=proxy
networks:
- caddy
- proxy
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- caddy_data:/data
restart: unless-stopped
networks:
caddy:
proxy:
external: true
volumes:

View File

@ -3,11 +3,11 @@ version: '3'
services:
nginx:
networks:
- caddy
- proxy
labels:
- caddy="${FQDN}"
- caddy.reverse_proxy="{{upstreams 8080}}"
networks:
caddy:
proxy:
external: true