-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.c7.yml
56 lines (53 loc) · 1.78 KB
/
docker-compose.c7.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
########################################
# Camunda Platform full development setup
########################################
version: '3.8'
volumes:
certs:
networks:
# Note there are two bridge networks. One for Zeebe and one for IAM. Operate, Tasklist, and Optimize use both
camunda-cloud: { }
camunda-platform: { }
services:
########################################
# Camunda Platform Service
########################################
camunda-7:
container_name: camunda-7
image: camunda/camunda-bpm-platform:run-latest
# build:
# context: ../camunda-demo-c7
ports:
- "8080:8080"
volumes:
- ./certs:/opt/certs
environment:
# PROFILES: cors,prod,email
# DATABASE_URL: jdbc:postgresql://postgres:5432/camunda?user=camunda&password=camunda&characterEncoding=UTF-8&reWriteBatchedInserts=true&ssl=true&sslrootcert=/opt/certs/root.crt&sslcert=/opt/certs/root.crt&sslmode=require
SPRING_DATASOURCE_URL: jdbc:postgresql://postgres:5432/camunda?user=camunda&password=camunda&characterEncoding=UTF-8&reWriteBatchedInserts=true
DB_DRIVER: org.postgresql.Driver
# PORT: 8080
# MAX_POOL_SIZE: 3
# MAIL_HOST: smtp
# MAIL_PORT: 2500
# RABBITMQ_HOST: rabbitmq-mgmt
# ADMIN_CLIENT_URL: http://camunda-node-1:8080
# DATA_API_URI: http://data-api:9000/api
# VM_OPTIONS: -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap
deploy:
resources:
limits:
cpus: '2'
memory: 1000M
reservations:
memory: 1000M
healthcheck:
test: ["CMD", "curl", "-f", "http://camunda-7:8080/engine-rest/engine"]
interval: 30s
timeout: 10s
retries: 5
restart: always
networks:
- camunda-platform
depends_on:
- postgres