feat: add restart policy
This commit is contained in:
parent
abbeef2248
commit
d26e1c37a7
|
@ -99,6 +99,8 @@ services:
|
||||||
- "traefik.http.services.ocis.loadbalancer.server.port=9200"
|
- "traefik.http.services.ocis.loadbalancer.server.port=9200"
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: on-failure
|
condition: on-failure
|
||||||
|
delay: 5s
|
||||||
|
max_attempts: 3
|
||||||
|
|
||||||
ocis-appprovider-collabora:
|
ocis-appprovider-collabora:
|
||||||
image: owncloud/ocis:${OCIS_DOCKER_TAG:-latest}
|
image: owncloud/ocis:${OCIS_DOCKER_TAG:-latest}
|
||||||
|
@ -127,7 +129,11 @@ services:
|
||||||
- ocis-config:/etc/ocis
|
- ocis-config:/etc/ocis
|
||||||
logging:
|
logging:
|
||||||
driver: "local"
|
driver: "local"
|
||||||
restart: always
|
deploy:
|
||||||
|
restart_policy:
|
||||||
|
condition: on-failure
|
||||||
|
delay: 5s
|
||||||
|
max_attempts: 3
|
||||||
|
|
||||||
ocis-appprovider-onlyoffice:
|
ocis-appprovider-onlyoffice:
|
||||||
image: owncloud/ocis:${OCIS_DOCKER_TAG:-latest}
|
image: owncloud/ocis:${OCIS_DOCKER_TAG:-latest}
|
||||||
|
@ -163,7 +169,11 @@ services:
|
||||||
- ocis-config:/etc/ocis
|
- ocis-config:/etc/ocis
|
||||||
logging:
|
logging:
|
||||||
driver: "local"
|
driver: "local"
|
||||||
restart: always
|
deploy:
|
||||||
|
restart_policy:
|
||||||
|
condition: on-failure
|
||||||
|
delay: 5s
|
||||||
|
max_attempts: 3
|
||||||
|
|
||||||
wopiserver:
|
wopiserver:
|
||||||
image: cs3org/wopiserver:${WOPISERVER_DOCKER_TAG:-v10.2.2}
|
image: cs3org/wopiserver:${WOPISERVER_DOCKER_TAG:-v10.2.2}
|
||||||
|
@ -189,7 +199,11 @@ services:
|
||||||
- "traefik.http.services.wopiserver.loadbalancer.server.port=8880"
|
- "traefik.http.services.wopiserver.loadbalancer.server.port=8880"
|
||||||
logging:
|
logging:
|
||||||
driver: "local"
|
driver: "local"
|
||||||
restart: always
|
deploy:
|
||||||
|
restart_policy:
|
||||||
|
condition: on-failure
|
||||||
|
delay: 5s
|
||||||
|
max_attempts: 3
|
||||||
|
|
||||||
collabora:
|
collabora:
|
||||||
image: collabora/code:23.05.5.2.1
|
image: collabora/code:23.05.5.2.1
|
||||||
|
@ -212,7 +226,11 @@ services:
|
||||||
- "traefik.http.services.collabora.loadbalancer.server.port=9980"
|
- "traefik.http.services.collabora.loadbalancer.server.port=9980"
|
||||||
logging:
|
logging:
|
||||||
driver: "local"
|
driver: "local"
|
||||||
restart: always
|
deploy:
|
||||||
|
restart_policy:
|
||||||
|
condition: on-failure
|
||||||
|
delay: 5s
|
||||||
|
max_attempts: 3
|
||||||
|
|
||||||
onlyoffice:
|
onlyoffice:
|
||||||
image: onlyoffice/documentserver:7.5.0
|
image: onlyoffice/documentserver:7.5.0
|
||||||
|
@ -239,13 +257,16 @@ services:
|
||||||
- "traefik.http.routers.onlyoffice.middlewares=onlyoffice"
|
- "traefik.http.routers.onlyoffice.middlewares=onlyoffice"
|
||||||
logging:
|
logging:
|
||||||
driver: "local"
|
driver: "local"
|
||||||
restart: always
|
deploy:
|
||||||
|
restart_policy:
|
||||||
|
condition: on-failure
|
||||||
|
delay: 5s
|
||||||
|
max_attempts: 3
|
||||||
|
|
||||||
tika:
|
tika:
|
||||||
image: ${TIKA_IMAGE:-apache/tika:latest-full}
|
image: ${TIKA_IMAGE:-apache/tika:latest-full}
|
||||||
networks:
|
networks:
|
||||||
- ocis-net
|
- ocis-net
|
||||||
restart: always
|
|
||||||
|
|
||||||
inbucket:
|
inbucket:
|
||||||
image: inbucket/inbucket
|
image: inbucket/inbucket
|
||||||
|
@ -268,7 +289,11 @@ services:
|
||||||
- "traefik.http.services.inbucket.loadbalancer.server.port=9000"
|
- "traefik.http.services.inbucket.loadbalancer.server.port=9000"
|
||||||
logging:
|
logging:
|
||||||
driver: "local"
|
driver: "local"
|
||||||
restart: always
|
deploy:
|
||||||
|
restart_policy:
|
||||||
|
condition: on-failure
|
||||||
|
delay: 5s
|
||||||
|
max_attempts: 3
|
||||||
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
|
|
Loading…
Reference in New Issue