Files
dockerservertest/docker-compose.yml

38 lines
907 B
YAML

version: '3'
services:
duckdns:
container_name: duckdns
image: lscr.io/linuxserver/duckdns:latest
environment:
- PUID=${PUID} #optional
- PGID=${PGID} #optional
- TZ=${TZ} #optional
- SUBDOMAINS=wettsten.duckdns.org
- TOKEN=b0567791-f8b74dcf9fe69aaf01b5ca5b
- LOG_FILE=false #optional
restart: unless-stopped
volumes:
- ./appdata/duckdns/config:/config #optional
swag:
container_name: swag
image: lscr.io/linuxserver/swag
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TZ}
- URL=wettsten.duckdns.org
- SUBDOMAINS=wildcard
- VALIDATION=duckdns
- DUCKDNSTOKEN=b0567791f8b74dcf9fe69aaf01b5ca5b
- EMAIL=scott.wettstein@gmail.com
cap_add:
- NET_ADMIN
ports:
- 443:443
- 80:80
restart: unless-stopped
volumes:
- ./appdata/swag/config:/config