| @@ -1,10 +1,11 @@ | |||||
| --- | |||||
| version: "3.9" | version: "3.9" | ||||
| services: | services: | ||||
| caddy: | caddy: | ||||
| image: caddy:2.5.1-alpine | image: caddy:2.5.1-alpine | ||||
| networks: | networks: | ||||
| # add this, so that caddy can talk to the playbook-managed-traefik | |||||
| # add this, so that caddy can talk to the playbook-managed-traefik | |||||
| - traefik | - traefik | ||||
| ports: | ports: | ||||
| - "80:80" | - "80:80" | ||||
| @@ -12,11 +13,11 @@ services: | |||||
| - "8448:8448" | - "8448:8448" | ||||
| volumes: | volumes: | ||||
| - ./Caddyfile:/etc/caddy/Caddyfile | - ./Caddyfile:/etc/caddy/Caddyfile | ||||
| # - ./site:/var/www | |||||
| # Other configurations ... | |||||
| # - ./site:/var/www | |||||
| # Other configurations ... | |||||
| networks: | networks: | ||||
| # add this as well | # add this as well | ||||
| traefik: | traefik: | ||||
| name: traefik | name: traefik | ||||
| external: true | |||||
| external: true | |||||