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