-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
138 lines (127 loc) · 4.05 KB
/
docker-compose.yml
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
version: "3"
networks:
zeebe_network:
driver: bridge
services:
postgres:
container_name: zeebe_postgres
image: postgres:12.2
restart: always
environment:
POSTGRES_PASSWORD: postgres
volumes:
- ./docker-postgres-init.sh:/docker-entrypoint-initdb.d/init-user-db.sh
- postgres-data:/var/lib/postgresql/data/
networks:
- zeebe_network
zeebe:
container_name: zeebe_broker
image: ghcr.io/camunda-community-hub/zeebe-with-hazelcast-exporter:8.0.5
environment:
- ZEEBE_LOG_LEVEL=debug
- ZEEBE_CLOCK_CONTROLLED=true
ports:
- "26500:26500"
- "5701:5701"
networks:
- zeebe_network
zeebe-monitor:
container_name: zeebe_monitor
image: ghcr.io/camunda-community-hub/zeebe-simple-monitor:2.4.0
environment:
- zeebe.client.broker.gateway-address=zeebe:26500
- zeebe.client.worker.hazelcast.connection=zeebe:5701
- spring.datasource.url=jdbc:postgresql://postgres:5432/zeebe_monitor
- spring.datasource.username=zeebe_monitor
- spring.datasource.password=zeebe_monitor
- spring.datasource.driverClassName=org.postgresql.Driver
- spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
ports:
- "8081:8082"
depends_on:
- zeebe
- postgres
networks:
- zeebe_network
zeebe-tasklist:
container_name: zeebe_tasklist
image: ghcr.io/camunda-community-hub/zeebe-simple-tasklist:1.0.1
environment:
- zeebe.client.broker.gateway-address=zeebe:26500
- zeebe.client.worker.hazelcast.connection=zeebe:5701
- spring.datasource.url=jdbc:postgresql://postgres:5432/zeebe_tasklist
- spring.datasource.username=zeebe_tasklist
- spring.datasource.password=zeebe_tasklist
- spring.datasource.driverClassName=org.postgresql.Driver
- spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
ports:
- "8082:8081"
depends_on:
- zeebe
- postgres
networks:
- zeebe_network
zeebe-play:
container_name: zeebe_play
image: ghcr.io/camunda-community-hub/zeebe-play:1.0.0
environment:
- ZEEBE_ENGINE=remote
- ZEEBE_CLIENT_BROKER_GATEWAYADDRESS=zeebe:26500
- ZEEBE_CLOCK_ENDPOINT=zeebe:9600/actuator/clock
- ZEEBE_CLIENT_WORKER_HAZELCAST_CONNECTION=zeebe:5701
- SPRING_DATASOURCE_URL=jdbc:postgresql://postgres:5432/zeebe_play
- SPRING_DATASOURCE_USERNAME=zeebe_play
- SPRING_DATASOURCE_PASSWORD=zeebe_play
- SPRING_DATASOURCE_DRIVERCLASSNAME=org.postgresql.Driver
- SPRING_JPA_PROPERTIES_HIBERNATE_DIALECT=org.hibernate.dialect.PostgreSQLDialect
- SPRING_JPA_HIBERNATE_DLL_AUTO=create
ports:
- "8083:8080"
networks:
- zeebe_network
depends_on:
- zeebe
- postgres
profiles:
- play
graphql-engine:
container_name: zeebe_api
image: hasura/graphql-engine:v2.11.2.cli-migrations-v3
ports:
- "8090:8080"
restart: always
environment:
HASURA_GRAPHQL_METADATA_DATABASE_URL: postgres://zeebe_api:zeebe_api@postgres:5432/zeebe_api
HASURA_GRAPHQL_ENABLE_CONSOLE: "true"
HASURA_GRAPHQL_DEV_MODE: "true"
HASURA_GRAPHQL_ENABLED_LOG_TYPES: startup, http-log, webhook-log, websocket-log, query-log
volumes:
- ./docker-hasura/migrations:/hasura-migrations
- ./docker-hasura/metadata:/hasura-metadata
networks:
- zeebe_network
depends_on:
- postgres
minio:
container_name: minio
image: minio/minio:RELEASE.2022-12-02T19-19-22Z
ports:
- "9000:9000"
- "9001:9001"
restart: always
entrypoint: sh
command: -c "mkdir -p /data/rcc /data/zeebe && /opt/bin/minio server /data --console-address 0.0.0.0:9001"
environment:
MINIO_ROOT_USER: minioadmin
MINIO_ROOT_PASSWORD: minioadmin
mailhog:
container_name: zeebe_smtp
image: mailhog/mailhog
logging:
driver: 'none' # disable saving logs
ports:
- 1025:1025 # smtp server
- 8025:8025 # web ui
volumes:
postgres-data:
driver: local