chore: reorder and uncomment environment variables in 5etools service configuration
Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
parent
c56634ec00
commit
c7334bfd40
@ -1,18 +1,18 @@
|
|||||||
services:
|
services:
|
||||||
# https://github.com/Jafner/5etools-docker
|
|
||||||
5etools:
|
5etools:
|
||||||
restart: unless-stopped
|
|
||||||
container_name: 5etools
|
|
||||||
image: jafner/5etools-docker
|
image: jafner/5etools-docker
|
||||||
volumes:
|
container_name: 5etools
|
||||||
- /mnt/appdata/5etools/data:/usr/local/apache2/htdocs
|
restart: unless-stopped
|
||||||
- /mnt/appdata/5etools/data/homebrew/index.json:/usr/local/apache2/htdocs/homebrew/index.json:ro # try to prevent overwriting custom index on restart
|
|
||||||
environment:
|
environment:
|
||||||
- SOURCE=GITHUB
|
# - SOURCE=GITHUB
|
||||||
- IMG=TRUE
|
- IMG=TRUE
|
||||||
# Use the 2014 Rules
|
|
||||||
- DL_LINK=https://github.com/5etools-mirror-3/5etools-2014-src.git
|
- DL_LINK=https://github.com/5etools-mirror-3/5etools-2014-src.git
|
||||||
- IMG_LINK=https://github.com/5etools-mirror-3/5etools-2014-img.git
|
- IMG_LINK=https://github.com/5etools-mirror-3/5etools-2014-img.git
|
||||||
|
volumes:
|
||||||
|
# Use a Named Volume for the main site to ensure 'git clone' succeeds
|
||||||
|
- /mnt/appdata/5etools/data:/usr/local/apache2/htdocs
|
||||||
|
# Mount ONLY your custom homebrew folder specifically
|
||||||
|
- /mnt/appdata/5etools/homebrew:/usr/local/apache2/htdocs/homebrew
|
||||||
networks:
|
networks:
|
||||||
- proxy-net
|
- proxy-net
|
||||||
labels:
|
labels:
|
||||||
@ -21,9 +21,7 @@ services:
|
|||||||
- "traefik.http.routers.5etools.rule=Host(`5etools.castaldifamily.com`)"
|
- "traefik.http.routers.5etools.rule=Host(`5etools.castaldifamily.com`)"
|
||||||
- "traefik.http.routers.5etools.tls=true"
|
- "traefik.http.routers.5etools.tls=true"
|
||||||
- "traefik.http.routers.5etools.tls.certresolver=cloudflare"
|
- "traefik.http.routers.5etools.tls.certresolver=cloudflare"
|
||||||
- "traefik.http.routers.5etools.service=5etools"
|
# Forward to Port 80 as per the Install Guide
|
||||||
- "traefik.http.services.5etools.loadbalancer.server.port=80"
|
- "traefik.http.services.5etools.loadbalancer.server.port=80"
|
||||||
|
# Optional: Add Authentik protection for the family
|
||||||
networks:
|
# - "traefik.http.routers.5etools.middlewares=authentik-auth@file"
|
||||||
proxy-net:
|
|
||||||
external: true
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user