2021-07-05 01:15:08 -07:00
version : "3"
services :
2021-10-03 17:12:11 -07:00
5etools-docker :
container_name : 5etools-docker
2022-12-22 09:48:54 -08:00
image : jafner/5etools-docker
2021-10-03 17:12:11 -07:00
volumes :
2023-09-05 17:13:04 -07:00
- ~/5etools-docker/htdocs:/usr/local/apache2/htdocs
2021-10-03 17:12:11 -07:00
ports :
- 8080 : 80 /tcp
environment :
2023-09-05 17:13:04 -07:00
- SOURCE=GITHUB
# Required unless OFFLINE_MODE=TRUE and the site files are already present.
2022-12-22 09:22:43 -08:00
# Expects one of GITHUB, GITHUB-NOIMG, GET5ETOOLS, or GET5ETOOLS-NOIMG. Where:
2024-01-29 21:16:59 -08:00
# GITHUB pulls from https://github.com/5etools-mirror-2/5etools-mirror-2.github.io and adds https://github.com/5etools-mirror-2/5etools-img as a submodule
# GITHUB-NOIMG pulls from https://github.com/5etools-mirror-2/5etools-mirror-2.github.io without adding the images submodule.
2022-12-01 18:42:26 -08:00
# GET5ETOOLS pulls from https://get.5e.tools
# GET5ETOOLS-NOIMG pulls from https://get.5e.tools without image files.
# The get.5e.tools source has been down (redirecting to 5e.tools) during development.
# This method is not tested.
#- OFFLINE_MODE=TRUE
# Optional. Expects "TRUE" or "FALSE".
2023-09-05 17:13:04 -07:00
# Uncomment this block to use a docker-managed volume:
#volumes:
# 5etools-docker: