--- version: "3.8" secrets: vtt_config_json: file: vttsecrets.json services: swag: image: lscr.io/linuxserver/swag:latest container_name: swag cap_add: - NET_ADMIN environment: - PUID=$PUID - PGID=$PGID - TZ=Etc/UTC - URL=mondarth.com - VALIDATION=dns - SUBDOMAINS=vtt-mos - DNSPLUGIN=digitalocean - STAGING=true restart: unless-stopped volumes: - "./nginx:/config" - "./site:/config/www" ports: - "8443:443" - "8888:80" vtt-mos: image: felddy/foundryvtt:release volumes: - "./data:/data" environment: - CONTAINER_PRESERVE_CONFIG=true secrets: - source: vtt_config_json target: config.json