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: