mirror of
https://github.com/mr-vercetti/homeserver.git
synced 2025-01-18 16:25:35 +01:00
29 lines
601 B
YAML
29 lines
601 B
YAML
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
|