36 lines
760 B
YAML
36 lines
760 B
YAML
services:
|
|
swag:
|
|
image: ghcr.io/linuxserver/swag:latest
|
|
container_name: swag
|
|
cap_add:
|
|
- NET_ADMIN
|
|
environment:
|
|
- PUID=${PUID}
|
|
- PGID=${PGID}
|
|
- TZ=${TZ}
|
|
- URL=${DOMAIN}
|
|
- SUBDOMAINS=${SUBDOMAINS}
|
|
- VALIDATION=dns
|
|
- DNSPLUGIN=ovh
|
|
- EMAIL=${EMAIL}
|
|
- ONLY_SUBDOMAINS=false
|
|
- STAGING=false
|
|
volumes:
|
|
- /home/citadel/data/swag:/config
|
|
- /etc/localtime:/etc/localtime:ro
|
|
- /etc/timezone:/etc/timezone:ro
|
|
ports:
|
|
- "80:80"
|
|
- "443:443"
|
|
networks:
|
|
- services
|
|
restart: unless-stopped
|
|
labels:
|
|
- "com.docker.compose.project=swag"
|
|
- "backup.enable=true"
|
|
- "backup.path=/config"
|
|
|
|
networks:
|
|
services:
|
|
external: true
|