pulled docker-compose.yml from "real" runtipi app store
This commit is contained in:
34
apps/whoami/docker-compose.yml
Normal file
34
apps/whoami/docker-compose.yml
Normal file
@@ -0,0 +1,34 @@
|
||||
services:
|
||||
whoami:
|
||||
image: traefik/whoami:v1.11.0
|
||||
container_name: whoami
|
||||
ports:
|
||||
- ${APP_PORT}:80
|
||||
networks:
|
||||
- tipi_main_network
|
||||
labels:
|
||||
# Main
|
||||
traefik.enable: true
|
||||
traefik.http.middlewares.whoami-web-redirect.redirectscheme.scheme: https
|
||||
traefik.http.services.whoami.loadbalancer.server.port: 80
|
||||
# Web
|
||||
traefik.http.routers.whoami-insecure.rule: Host(`${APP_DOMAIN}`)
|
||||
traefik.http.routers.whoami-insecure.entrypoints: web
|
||||
traefik.http.routers.whoami-insecure.service: whoami
|
||||
traefik.http.routers.whoami-insecure.middlewares: whoami-web-redirect
|
||||
# Websecure
|
||||
traefik.http.routers.whoami.rule: Host(`${APP_DOMAIN}`)
|
||||
traefik.http.routers.whoami.entrypoints: websecure
|
||||
traefik.http.routers.whoami.service: whoami
|
||||
traefik.http.routers.whoami.tls.certresolver: myresolver
|
||||
# Local domain
|
||||
traefik.http.routers.whoami-local-insecure.rule: Host(`whoami.${LOCAL_DOMAIN}`)
|
||||
traefik.http.routers.whoami-local-insecure.entrypoints: web
|
||||
traefik.http.routers.whoami-local-insecure.service: whoami
|
||||
traefik.http.routers.whoami-local-insecure.middlewares: whoami-web-redirect
|
||||
# Local domain secure
|
||||
traefik.http.routers.whoami-local.rule: Host(`whoami.${LOCAL_DOMAIN}`)
|
||||
traefik.http.routers.whoami-local.entrypoints: websecure
|
||||
traefik.http.routers.whoami-local.service: whoami
|
||||
traefik.http.routers.whoami-local.tls: true
|
||||
runtipi.managed: true
|
||||
Reference in New Issue
Block a user