Skip to content

Commit

Permalink
fix: use docker healthcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
DeepDiver1975 committed Apr 26, 2024
1 parent f7fb0bc commit de86f4f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 50 deletions.

This file was deleted.

This file was deleted.

24 changes: 12 additions & 12 deletions deployments/examples/ocis_wopi/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,6 @@ services:
image: owncloud/ocis:${OCIS_DOCKER_TAG:-latest}
networks:
ocis-net:
user: "0" # needed for apk add in entrypoint script
entrypoint:
- /bin/sh
- /entrypoint-override.sh
command: app-provider server
environment:
# use the internal service name of the gateway
Expand All @@ -133,22 +129,20 @@ services:
# share the registry with the ocis container
MICRO_REGISTRY_ADDRESS: ocis:9233
volumes:
- ./config/ocis-appprovider-collabora/entrypoint-override.sh:/entrypoint-override.sh
- ocis-config:/etc/ocis
logging:
driver: ${LOG_DRIVER:-local}
restart: always
depends_on:
- ocis
ocis:
condition: service_started
collabora:
condition: service_healthy

ocis-appprovider-onlyoffice:
image: owncloud/ocis:${OCIS_DOCKER_TAG:-latest}
networks:
ocis-net:
user: "0" # needed for apk add in entrypoint script
entrypoint:
- /bin/sh
- /entrypoint-override.sh
#command: app-provider server
environment:
# use the internal service name of the gateway
Expand All @@ -168,13 +162,15 @@ services:
# share the registry with the ocis container
MICRO_REGISTRY_ADDRESS: ocis:9233
volumes:
- ./config/ocis-appprovider-onlyoffice/entrypoint-override.sh:/entrypoint-override.sh
- ocis-config:/etc/ocis
logging:
driver: ${LOG_DRIVER:-local}
restart: always
depends_on:
- ocis
ocis:
condition: service_started
onlyoffice:
condition: service_healthy

wopiserver:
image: cs3org/wopiserver:${WOPISERVER_DOCKER_TAG:-v10.3.0}
Expand Down Expand Up @@ -224,6 +220,8 @@ services:
logging:
driver: ${LOG_DRIVER:-local}
restart: always
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9980/hosting/discovery"]

onlyoffice:
image: onlyoffice/documentserver:7.5.0
Expand Down Expand Up @@ -251,6 +249,8 @@ services:
logging:
driver: ${LOG_DRIVER:-local}
restart: always
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost/hosting/discovery"]

tika:
image: ${TIKA_IMAGE:-apache/tika:latest-full}
Expand Down

0 comments on commit de86f4f

Please sign in to comment.