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

37 lines
1.5 KiB
YAML

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