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:
|
||||
# https://github.com/Jafner/5etools-docker
|
||||
5etools:
|
||||
restart: unless-stopped
|
||||
container_name: 5etools
|
||||
image: jafner/5etools-docker
|
||||
volumes:
|
||||
- /mnt/appdata/5etools/data:/usr/local/apache2/htdocs
|
||||
- /mnt/appdata/5etools/data/homebrew/index.json:/usr/local/apache2/htdocs/homebrew/index.json:ro # try to prevent overwriting custom index on restart
|
||||
container_name: 5etools
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- SOURCE=GITHUB
|
||||
# - SOURCE=GITHUB
|
||||
- IMG=TRUE
|
||||
# Use the 2014 Rules
|
||||
- DL_LINK=https://github.com/5etools-mirror-3/5etools-2014-src.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:
|
||||
- proxy-net
|
||||
labels:
|
||||
@ -21,9 +21,7 @@ services:
|
||||
- "traefik.http.routers.5etools.rule=Host(`5etools.castaldifamily.com`)"
|
||||
- "traefik.http.routers.5etools.tls=true"
|
||||
- "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"
|
||||
|
||||
networks:
|
||||
proxy-net:
|
||||
external: true
|
||||
# Optional: Add Authentik protection for the family
|
||||
# - "traefik.http.routers.5etools.middlewares=authentik-auth@file"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user