generated from camunda-community-hub/zeebe-worker-java-template
-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose-cherry-postgres.yaml
50 lines (44 loc) · 1.4 KB
/
docker-compose-cherry-postgres.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
services:
cherry-runtime:
image: ghcr.io/camunda-community-hub/zeebe-cherry-runtime:latest
container_name: cherryruntime
ports:
- "9081:9081"
environment:
- ZEEBE_CLIENT_BROKER_GATEWAY_ADDRESS=zeebe:26500
- ZEEBE_CLIENT_SECURITY_PLAINTEXT=true
# - ZEEBE_CLIENT_CLOUD_REGION=
# - ZEEBE_CLIENT_CLOUD_CLUSTERID=
# - ZEEBE_CLIENT_CLOUD_CLIENTID=
# - ZEEBE_CLIENT_CLOUD_CLIENTSECRET=
- LOGGING_LEVEL_ROOT=INFO
- spring.profiles.active=postgres
- spring.datasource.url=jdbc:postgresql://postgres/cherrydb
- spring.datasource.username=camunda
- spring.datasource.password=camundapassword
- spring.jpa.database-platform=org.hibernate.dialect.PostgreSQLDialect
- org.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
networks:
- camunda-platform
depends_on:
- zeebe
- postgres
postgres: # https://hub.docker.com/_/postgres
container_name: postgres-cherry
image: postgres:${POSTGRES_VERSION:-14.5-alpine}
ports:
- "5440:5432"
environment:
POSTGRES_DB: cherrydb
POSTGRES_USER: camunda
POSTGRES_PASSWORD: camundapassword
restart: on-failure
healthcheck:
test: [ "CMD-SHELL", "pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}" ]
interval: 10s
timeout: 5s
retries: 5
networks:
- camunda-platform
networks:
camunda-platform: