app-store/apps/homebox/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

44 lines
1.8 KiB
YAML

version: "3.4"
services:
homebox:
image: ghcr.io/hay-kot/homebox:v0.9.2
container_name: homebox
restart: always
environment:
- HBOX_LOG_LEVEL=info
- HBOX_LOG_FORMAT=text
- HBOX_WEB_MAX_UPLOAD_SIZE=10
- HBOX_OPTIONS_ALLOW_REGISTRATION=${HBOX_OPTIONS_ALLOW_REGISTRATION}
volumes:
- ${APP_DATA_DIR}/data/homebox-data:/data/
ports:
- ${APP_PORT}:7745
networks:
- tipi_main_network
labels:
# Main
traefik.enable: true
traefik.http.middlewares.homebox-web-redirect.redirectscheme.scheme: https
traefik.http.services.homebox.loadbalancer.server.port: 7745
# Web
traefik.http.routers.homebox-insecure.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.homebox-insecure.entrypoints: web
traefik.http.routers.homebox-insecure.service: homebox
traefik.http.routers.homebox-insecure.middlewares: homebox-web-redirect
# Websecure
traefik.http.routers.homebox.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.homebox.entrypoints: websecure
traefik.http.routers.homebox.service: homebox
traefik.http.routers.homebox.tls.certresolver: myresolver
# Local domain
traefik.http.routers.homebox-local-insecure.rule: Host(`homebox.${LOCAL_DOMAIN}`)
traefik.http.routers.homebox-local-insecure.entrypoints: web
traefik.http.routers.homebox-local-insecure.service: homebox
traefik.http.routers.homebox-local-insecure.middlewares: homebox-web-redirect
# Local domain secure
traefik.http.routers.homebox-local.rule: Host(`homebox.${LOCAL_DOMAIN}`)
traefik.http.routers.homebox-local.entrypoints: websecure
traefik.http.routers.homebox-local.service: homebox
traefik.http.routers.homebox-local.tls: true