-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.postgres.yml
55 lines (52 loc) · 1.42 KB
/
docker-compose.postgres.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
########################################
# 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-platform: { }
services:
########################################
# Postgres Service
#
# Be sure to add the config to application.yml
# and driver to pom.xml
#spring.datasource:
# url: jdbc:postgresql://127.0.0.1:5432/camunda?&characterEncoding=UTF-8
# username: camunda
# password: camunda
# driverClassName: org.postgresql.Driver
# maxActive: 10
# maxIdle: 5
# minIdle: 2
# initialSize: 5
# removeAbandoned: true
########################################
postgres:
container_name: postgres
image: bitnami/postgresql:11.14.0
restart: always
environment:
POSTGRESQL_USER: camunda
POSTGRESQL_PASSWORD: camunda
POSTGRESQL_DATABASE: camunda
POSTGRESQL_ENABLE_TLS: 'yes'
POSTGRESQL_TLS_CERT_FILE: /opt/bitnami/postgresql/certs/postgres.crt
POSTGRESQL_TLS_KEY_FILE: /opt/bitnami/postgresql/certs/postgres.key
volumes:
- ./certs:/opt/bitnami/postgresql/certs
ports:
- "5432:5432"
deploy:
resources:
limits:
cpus: '3'
memory: 5000M
reservations:
memory: 2000M
# depends_on:
# - demo-cert
networks:
- camunda-platform