31 lines
1.2 KiB
YAML
31 lines
1.2 KiB
YAML
services:
|
|
5etools:
|
|
image: jafner/5etools-docker
|
|
container_name: 5etools
|
|
restart: unless-stopped
|
|
environment:
|
|
# - SOURCE=GITHUB
|
|
- IMG=TRUE
|
|
- 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:
|
|
- "traefik.enable=true"
|
|
- "traefik.http.routers.5etools.entrypoints=websecure"
|
|
- "traefik.http.routers.5etools.rule=Host(`5etools.castaldifamily.com`)"
|
|
- "traefik.http.routers.5etools.tls=true"
|
|
- "traefik.http.routers.5etools.tls.certresolver=cloudflare"
|
|
# Forward to Port 80 as per the Install Guide
|
|
- "traefik.http.services.5etools.loadbalancer.server.port=80"
|
|
# Optional: Add Authentik protection for the family
|
|
# - "traefik.http.routers.5etools.middlewares=authentik-auth@file"
|
|
|
|
networks:
|
|
proxy-net:
|
|
external: true |