app-store/apps/gotify/docker-compose.arm.yml
Nicolas Meienberger d713238b5c
local domain configs A-G (#676)
* feat(actual-budget): change config to support local domain

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

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

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

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

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

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

* feat(calibre-web): change config to support local domain

* feat(chatgpt-ui): change config to support local domain

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

* feat(code-server): change config to support local domain

* feat(codex-docs): change config to support local domain

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

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

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

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

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

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

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

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

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

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

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

* feat(firefly-iii): change config to support local domain

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

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

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

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

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

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

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

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

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

* feat(grocy): change config to support local domain
2023-06-10 16:46:05 +02:00

45 lines
1.9 KiB
YAML

version: "3.7"
services:
gotify:
image: gotify/server-arm7:2.2.4
container_name: gotify
restart: unless-stopped
volumes:
- "${APP_DATA_DIR}/data:/app/data"
environment:
- GOTIFY_DEFAULTUSER_PASS=${GOTIFY_DEFAULTUSER_PASS}
ports:
- ${APP_PORT}:80
networks:
- tipi_main_network
labels:
# Main
traefik.enable: true
traefik.http.middlewares.gotify-web-redirect.redirectscheme.scheme: https
traefik.http.middlewares.gotify-web-redirect.redirectscheme.permanent: true
traefik.http.middlewares.sslheader.headers.customrequestheaders.X-Forwarded-Proto: http
traefik.http.services.gotify.loadbalancer.server.port: 80
traefik.http.services.gotify.loadbalancer.passhostheader: true
traefik.http.services.gotify.loadbalancer.sticky: true
# Web
traefik.http.routers.gotify-insecure.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.gotify-insecure.entrypoints: web
traefik.http.routers.gotify-insecure.service: gotify
traefik.http.routers.gotify-insecure.middlewares: gotify-web-redirect
# Websecure
traefik.http.routers.gotify.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.gotify.entrypoints: websecure
traefik.http.routers.gotify.service: gotify
traefik.http.routers.gotify.tls.certresolver: myresolver
# Local domain
traefik.http.routers.gotify-local-insecure.rule: Host(`gotify.${LOCAL_DOMAIN}`)
traefik.http.routers.gotify-local-insecure.entrypoints: web
traefik.http.routers.gotify-local-insecure.service: gotify
traefik.http.routers.gotify-local-insecure.middlewares: gotify-web-redirect
# Local domain secure
traefik.http.routers.gotify-local.rule: Host(`gotify.${LOCAL_DOMAIN}`)
traefik.http.routers.gotify-local.entrypoints: websecure
traefik.http.routers.gotify-local.service: gotify
traefik.http.routers.gotify-local.tls: true