docmost updated
This commit is contained in:
parent
f96b904e1e
commit
df01b224f2
|
|
@ -11,31 +11,14 @@ services:
|
|||
placement:
|
||||
constraints:
|
||||
- node.labels.platform == dev
|
||||
replicas: 2
|
||||
replicas: 1
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- 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
|
||||
- traefik.http.routers.docmost.rule=Host(`doc.emrekirman.xyz`)
|
||||
- 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
|
||||
restart_policy:
|
||||
condition: on-failure
|
||||
networks:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user