Files
docker_compositions/foundryvtt/docker-compose.yml
krumel fad036d559 .
2024-01-20 20:26:08 +00:00

34 lines
773 B
YAML

version: "3.7"
services:
foundryvtt:
image: felddy/foundryvtt:release
hostname: foundry.krumel.moe
init: true
volumes:
- /srv/docker/foundry:/data
ports:
- "30000:30000/tcp"
restart: "unless-stopped"
environment:
- FOUNDRY_HOSTNAME=foundry.krumel.moe
- FOUNDRY_LOCAL_HOSTNAME=petit-docker.grafschaft.lan:30000
- FOUNDRY_PROXY_PORT=443
- FOUNDRY_PROXY_SSL=true
- CONTAINER_PRESERVE_CONFIG=true
networks:
- foundry
secrets:
- source: foundry_creds
target: config.json
networks:
foundry:
ipam:
config:
- subnet: 172.20.60.0/24
secrets:
foundry_creds:
file: /srv/docker/docker-secrets/foundry.json