Last active
August 14, 2021 14:00
-
-
Save felddy/5e737f60559e90041be192d59159ab7c to your computer and use it in GitHub Desktop.
Run two Foundry Virtual Tabletop instances from the same docker-compose file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
version: "3.8" | |
secrets: | |
credentials: | |
file: credentials.json | |
services: | |
foundry_1: | |
image: felddy/foundryvtt:release | |
hostname: my_foundry_host_1 | |
init: true | |
restart: "unless-stopped" | |
volumes: | |
- type: bind | |
source: ./data_1 | |
target: /data | |
environment: | |
- CONTAINER_CACHE=/data/container_cache | |
- FOUNDRY_LICENSE_KEY=1 | |
secrets: | |
- source: credentials | |
target: config.json | |
ports: | |
- target: 30000 | |
published: 30001 | |
protocol: tcp | |
foundry_2: | |
image: felddy/foundryvtt:release | |
hostname: my_foundry_host_2 | |
init: true | |
restart: "unless-stopped" | |
volumes: | |
- type: bind | |
source: ./data_2 | |
target: /data | |
environment: | |
- CONTAINER_CACHE=/data/container_cache | |
- FOUNDRY_LICENSE_KEY=2 | |
secrets: | |
- source: credentials | |
target: config.json | |
ports: | |
- target: 30000 | |
published: 30002 | |
protocol: tcp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment