Code formatted, linted with yamllint

This commit is contained in:
w.z 2024-09-14 03:26:00 +08:00
parent ee74067cb6
commit 4b917251e8

View File

@ -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 # - ./site:/var/www
# Other configurations ... # Other configurations ...
networks: networks:
# add this as well # add this as well
traefik: traefik:
name: traefik name: traefik
external: true external: true