app-store/apps/gotify/docker-compose.arm64.yml

31 lines
1.2 KiB
YAML
Raw Normal View History

2023-04-04 18:24:29 +00:00
version: '3.7'
2022-09-29 20:56:09 +00:00
services:
gotify:
2023-04-04 18:24:29 +00:00
image: gotify/server-arm64:2.2.4
2022-09-29 20:56:09 +00:00
container_name: gotify
restart: unless-stopped
volumes:
2023-04-04 18:24:29 +00:00
- '${APP_DATA_DIR}/data:/app/data'
2022-09-29 20:56:09 +00:00
environment:
- GOTIFY_DEFAULTUSER_PASS=${GOTIFY_DEFAULTUSER_PASS}
ports:
- ${APP_PORT}:80
networks:
- tipi_main_network
labels:
traefik.enable: ${APP_EXPOSED}
# Traefik Redirect to HTTPS
traefik.http.middlewares.redirect-https.redirectScheme.scheme: https
traefik.http.middlewares.redirect-https.redirectScheme.permanent: true
# Traefik Router + Service Configuration
traefik.http.routers.gotify.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.gotify.entrypoints: websecure
traefik.http.routers.gotify.tls.certresolver: myresolver
traefik.http.routers.gotify.middlewares: redirect-https
traefik.http.routers.gotify.service: gotify
traefik.http.services.gotify.loadbalancer.passhostheader: true
traefik.http.services.gotify.loadbalancer.server.port: 80
traefik.http.services.gotify.loadbalancer.sticky: true
traefik.http.middlewares.sslheader.headers.customrequestheaders.X-Forwarded-Proto: http