Skip to content

Commit

Permalink
chore(web-modeler): add websockets health endpoint (#675)
Browse files Browse the repository at this point in the history
* chore(web-modeler): remove unnecessary environment variables

* chore(web-modeler): use websockets health endpoint & reduce healthcheck interval
  • Loading branch information
wollefitz authored Jun 7, 2024
1 parent 7e94c28 commit 0bc5002
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions docker-compose-web-modeler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,16 @@ services:
ports:
- "8060:8060"
healthcheck:
test: /usr/bin/nc -v localhost 8060
interval: 30s
test: [ "CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://127.0.0.1:8060/up" ]
interval: 5s
timeout: 15s
retries: 30
environment:
APP_NAME: "Web Modeler Self-Managed WebSockets"
APP_DEBUG: "true"
PUSHER_APP_ID: modeler-app
PUSHER_APP_KEY: modeler-app-key
PUSHER_APP_SECRET: modeler-app-secret
PUSHER_APP_CLUSTER: modeler
networks:
- modeler

Expand Down Expand Up @@ -72,9 +73,10 @@ services:
identity:
condition: service_healthy
healthcheck:
test: /usr/bin/nc -v localhost 8081
interval: 30s
retries: 10
test: [ "CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:8091/health/readiness" ]
interval: 5s
timeout: 15s
retries: 30
environment:
JAVA_OPTIONS: -Xmx128m
LOGGING_LEVEL_IO_CAMUNDA_MODELER: DEBUG
Expand Down Expand Up @@ -108,10 +110,10 @@ services:
modeler-restapi:
condition: service_healthy
healthcheck:
test: /usr/bin/nc -v localhost 8070
interval: 30s
test: [ "CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:8071/health/readiness" ]
interval: 5s
timeout: 15s
retries: 5
retries: 30
environment:
RESTAPI_HOST: modeler-restapi
SERVER_HOST: modeler-webapp
Expand Down

0 comments on commit 0bc5002

Please sign in to comment.