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

36 lines
1.6 KiB
YAML

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