Joey Hafner
c72a94fd2a
Update GITHUB source to use new mirrors Rework git source, remove sparse-checkout, add images as submodule Remove "GIT_URL" option
25 lines
1.1 KiB
YAML
25 lines
1.1 KiB
YAML
version: "3"
|
|
services:
|
|
5etools-docker:
|
|
container_name: 5etools-docker
|
|
image: jafner/5etools-docker
|
|
volumes:
|
|
- ~/5etools-docker/htdocs:/usr/local/apache2/htdocs
|
|
ports:
|
|
- 8080:80/tcp
|
|
environment:
|
|
- SOURCE=GITHUB
|
|
# Required unless OFFLINE_MODE=TRUE and the site files are already present.
|
|
# Expects one of GITHUB, GITHUB-NOIMG, GET5ETOOLS, or GET5ETOOLS-NOIMG. Where:
|
|
# 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.
|
|
# 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".
|
|
|
|
# Uncomment this block to use a docker-managed volume:
|
|
#volumes:
|
|
# 5etools-docker: |