version: "3" services: web: image: docker.io/library/caddy:2-alpine container_name: web volumes: - /vault/services/certMgmt/certData/certs:/tls_certs:z - /vault/services/web/webhosts:/webhosts:z - /vault/services/web/sites.d:/sites.d:z - /vault/services/web/caddy_data:/data:z - /vault/services/web/caddy_config:/config:z - /vault/services/web/homepage:/var/webroot:z - /vault/services/web/Caddyfile:/etc/caddy/Caddyfile:z - /vault/services/matrix/static-files:/matrix_static:z ports: - "10.42.0.1:443:443" - "192.168.0.53:443:443" networks: - frontend - matrix web_userspace: image: docker.io/library/caddy:2-alpine container_name: web_userspace volumes: - /vault/services/cloud/nextcloud/data:/webroot:ro - /vault/services/web/userspace/data:/data:z - /vault/services/web/userspace/config:/config:z - /vault/services/web/userspace/Caddyfile:/etc/caddy/Caddyfile:z networks: - frontend networks: frontend: external: name: frontend matrix: external: name: matrix