Jafner.net/5etools-docker/docker-compose.yml

29 lines
1.3 KiB
YAML
Raw Normal View History

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:
- ~/5etools-docker/htdocs:/usr/local/apache2/htdocs
2021-10-03 17:12:11 -07:00
ports:
- 8080:80/tcp
environment:
- 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:
# GITHUB pulls from https://github.com/5etools-mirror-1/5etools-mirror-1
# GITHUB-NOIMG pulls from https://github.com/5etools-mirror-1/5etools-mirror-1 without image files.
# 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.
#- GIT_URL=https://github.com/5etools-mirror-1/5etools-mirror-1.github.io.git
# Use this to override the default "official" mirror link. Only works for initial Git clone.
# Does not work when an existing repository is present.
# Defaults to https://github.com/5etools-mirror-2/5etools-mirror-2.github.io.git
#- OFFLINE_MODE=TRUE
# Optional. Expects "TRUE" or "FALSE".
# Uncomment this block to use a docker-managed volume:
#volumes:
# 5etools-docker: