docmost updated

This commit is contained in:
emrekirman 2025-08-22 23:36:34 +03:00
parent 8edcaddc67
commit f96b904e1e

View File

@ -14,11 +14,28 @@ services:
replicas: 2
labels:
- traefik.enable=true
- traefik.http.routers.docmost.rule=Host(`doc.emrekirman.xyz`) || Host(`emrekirman.xyz/docmost`) || Host(`www.emrekirman.xyz/docmost`)
- traefik.http.routers.docmost.entrypoints=websecure
- traefik.http.routers.docmost.tls.certresolver=myresolver
- traefik.http.services.docmost.loadbalancer.server.port=3000
- traefik.http.routers.docmost.service=docmost
- traefik.http.routers.docmost-sub-http.rule=Host(`docmost.emrekirman.xyz`)
- traefik.http.routers.docmost-sub-http.entrypoints=http
- traefik.http.routers.docmost-sub-http.middlewares=https-redirect
- traefik.http.routers.docmost-sub-https.rule=Host(`docmost.emrekirman.xyz`)
- traefik.http.routers.docmost-sub-https.entrypoints=https
- traefik.http.routers.docmost-sub-https.tls=true
- traefik.http.routers.docmost-sub-https.tls.certresolver=myresolver
- traefik.http.routers.docmost-sub-https.service=docmost
- traefik.http.middlewares.docmost-strip.stripprefix.prefixes=/docmost
- traefik.http.routers.docmost-path-http.rule=Host(`emrekirman.xyz`) && PathPrefix(`/docmost`)
- traefik.http.routers.docmost-path-http.entrypoints=http
- traefik.http.routers.docmost-path-http.middlewares=https-redirect
- traefik.http.routers.docmost-path-https.rule=Host(`emrekirman.xyz`) && PathPrefix(`/docmost`)
- traefik.http.routers.docmost-path-https.entrypoints=https
- traefik.http.routers.docmost-path-https.tls=true
- traefik.http.routers.docmost-path-https.tls.certresolver=myresolver
- traefik.http.routers.docmost-path-https.middlewares=docmost-strip
- traefik.http.routers.docmost-path-https.service=docmost
restart_policy:
condition: on-failure
networks: