homeserver/docker/stacks/swag/swag.yml
2022-11-21 17:33:34 +01:00

29 lines
601 B
YAML

services:
swag:
image: lscr.io/linuxserver/swag
container_name: swag
networks:
- proxy
cap_add:
- NET_ADMIN
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TIMEZONE}
- URL=${DOMAIN}
- SUBDOMAINS=wildcard
- VALIDATION=dns
- DNSPLUGIN=cloudflare
- EXTRA_DOMAINS=${EXTRA_DOMAINS}
- PROPAGATION=30
volumes:
- ${APPS_DIR}/swag:/config
ports:
- "443:443"
- "80:80"
restart: unless-stopped
networks:
proxy:
name: proxy