app-store/apps/hammond/docker-compose.yml
Nicolas Meienberger 01c6836796
local domain configs H-L (#678)
* feat(halo): change config to support local domain

* feat(hammond): change config to support local domain

* feat(haven): change config to support local domain

* feat(hedgedoc): change config to support local domain

* feat(hello-world): change config to support local domain

* feat(homarr): change config to support local domain

* feat(homebox): change config to support local domain

* feat(immich): change config to support local domain

* feat(invidious): change config to support local domain

* feat(it-tools): change config to support local domain

* feat(jackett): change config to support local domain

* feat(jellyseerr): change config to support local domain

* feat(joplin): change config to support local domain

* feat(kandboard): change config to support local domain

* feat(kapowarr): change config to support local domain

* feat(kavita): change config to support local domain

* feat(libreddit): change config to support local domain

* feat(librephotos): change config to support local domain

* feat(libretranslate): change config to support local domain

* feat(lidarr): change config to support local domain

* feat(lidarr-deemix): change config to support local domain

* feat(linkstack): change config to support local domain

* feat(lodestone-core): change config to support local domain
2023-06-10 17:29:03 +02:00

40 lines
1.6 KiB
YAML

version: "3"
services:
hammond:
container_name: hammond
image: akhilrex/hammond:1.0.0
ports:
- ${APP_PORT}:3000
volumes:
- ${APP_DATA_DIR}/data/config:/config
- ${APP_DATA_DIR}/data/assets:/assets
restart: unless-stopped
networks:
- tipi_main_network
labels:
# Main
traefik.enable: true
traefik.http.middlewares.hammond-web-redirect.redirectscheme.scheme: https
traefik.http.services.hammond.loadbalancer.server.port: 3000
# Web
traefik.http.routers.hammond-insecure.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.hammond-insecure.entrypoints: web
traefik.http.routers.hammond-insecure.service: hammond
traefik.http.routers.hammond-insecure.middlewares: hammond-web-redirect
# Websecure
traefik.http.routers.hammond.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.hammond.entrypoints: websecure
traefik.http.routers.hammond.service: hammond
traefik.http.routers.hammond.tls.certresolver: myresolver
# Local domain
traefik.http.routers.hammond-local-insecure.rule: Host(`hammond.${LOCAL_DOMAIN}`)
traefik.http.routers.hammond-local-insecure.entrypoints: web
traefik.http.routers.hammond-local-insecure.service: hammond
traefik.http.routers.hammond-local-insecure.middlewares: hammond-web-redirect
# Local domain secure
traefik.http.routers.hammond-local.rule: Host(`hammond.${LOCAL_DOMAIN}`)
traefik.http.routers.hammond-local.entrypoints: websecure
traefik.http.routers.hammond-local.service: hammond
traefik.http.routers.hammond-local.tls: true