Created
April 10, 2020 10:44
-
-
Save bertiebaggio/b4d40ad3f63d1a23ea4819597ac59ec8 to your computer and use it in GitHub Desktop.
Traefik v2 labels example for FoundryVTT in Docker
This file contains 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
# Traefik (https://docs.traefik.io/) v2 labels for Foundry VTT in Docker (https://github.com/bertiebaggio/foundryvtt-docker) | |
# add these to the foundryvtt serice and customise as desired | |
# Notes: - Be sure to set the Host currectly below | |
# - Remove '&& PathPrefix(`/foundry`)' if NOT serving from a subdirectory/path | |
# - If you keep the PathPrefix, you will need to edit Foundry's options.json and set eg "routePrefix": "foundry" | |
labels: | |
- "traefik.enable=true" | |
- "traefik.http.routers.foundryvtt.rule=Host(`rpg.example.com`) && PathPrefix(`/foundry`)" | |
- "traefik.http.services.foundryvtt.loadbalancer.server.port=30000" | |
- "traefik.http.routers.foundryvtt.tls=true" | |
- "traefik.http.routers.foundryvtt.tls.certresolver=myresolver" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment