Swag
---
services:
swag:
image: ghcr.io/linuxserver/swag
container_name: swag
restart: unless-stopped
cap_add:
- NET_ADMIN
environment:
- PUID=1000
- PGID=100 # group id matches nixos base install
- TZ=${LOCATION}
- URL=${FQDN}
- SUBDOMAINS=wildcard
- VALIDATION=dns
- DNSPLUGIN=${DNSPLUGIN}
- EMAIL=${EMAIL-MAIN}
- MAXMINDDB_LICENSE_KEY=${KEY-MAXDB}
- DOCKER_MODS=linuxserver/mods:swag-maxmind
volumes:
- ${DATA-SWAG}:/config
ports:
- 443:443
- 80:80
- 81:81
networks:
- swag
networks:
swag:
external: true