homeserver/docker/stacks/swag/swag.yml
2022-02-03 19:21:52 +00:00

29 lines
545 B
YAML

version: "3.7"
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
volumes:
- ${APPS_DIR}/swag:/config
ports:
- 443:443
- 80:80
restart: unless-stopped
networks:
proxy:
name: proxy