Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- swag:
- image: ghcr.io/linuxserver/swag:latest
- environment:
- TZ: 'America/Chicago'
- URL: domain.rocks
- SUBDOMAINS: wildcard
- FILE__EMAIL: '/run/secrets/CloudFlare-Email'
- PUID: 1000
- PGID: 1000
- VALIDATION: dns
- ONLY_SUBDOMAINS: 'true'
- DNSPLUGIN: 'cloudflare'
- FILE__MAXMINDDB_LICENSE_KEY: '/run/secrets/Maxmind-Key'
- INFLUX_HOST: influxdb
- INFLUX_HOST_PORT: 8086
- INFLUX_DATABASE: nginx
- INFLUX_USER: nginx
- FILE__INFLUX_PASS: '/run/secrets/Influx-PW'
- SEND_NGINX_LOGS: 'true'
- GEOIP2INFLUX_LOG_LEVEL: info
- volumes:
- - '/opt/docker/configs/swag/config:/config:rw'
- - '/mnt/e/Docker/Logs/swag:/config/log:rw'
- ports:
- - 443:443
- - 80:80
- secrets:
- - Influx-PW
- - CloudFlare-Email
- - Maxmind-Key
- deploy:
- mode: global
- restart_policy:
- condition: any
- networks:
- - ocm
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement