-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdocker-compose.yml
45 lines (45 loc) · 994 Bytes
/
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
version: '3.6'
services:
db:
image: postgres:11-alpine
container_name: postgres-bpm
restart: unless-stopped
env_file: ".env"
environment:
- TZ=${TZ}
- POSTGRES_DB=${BPM_DB_NAME}
- POSTGRES_USER=${BPM_DB_USER}
- POSTGRES_PASSWORD=${BPM_DB_PASSWORD}
volumes:
- ./.postgresql/bpm:/var/lib/postgresql/data
networks:
- db
healthcheck:
test: ["CMD", "pg_isready", "-d", "${BPM_DB_NAME}", "-U", "${BPM_DB_USER}"]
interval: 10m
timeout: 10s
retries: 3
start_period: 10s
bpm:
image: latera/camunda:latest
container_name: bpm
restart: unless-stopped
env_file: ".env"
environment:
- TZ=${TZ}
- WAIT_FOR=${BPM_DB_HOST}:${BPM_DB_PORT}
- JAVA_OPTS=-Xmx1024m -XX:MaxMetaspaceSize=512m
ports:
- 8080:8080
depends_on:
- db
networks:
- default
- db
- bpm
networks:
db:
internal: true
bpm:
internal: true
name: bpm