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 environment: - 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 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" - "traefik.http.routers.5etools.service=5etools" - "traefik.http.services.5etools.loadbalancer.server.port=8080" networks: proxy-net: external: true