-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.zaakbrug.postgres.yml
50 lines (45 loc) · 1.34 KB
/
docker-compose.zaakbrug.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
version: '3.8'
x-openforms2bpel-postgres-env:
environment: &openforms2bpel-postgres-env
POSTGRES_USER: openforms2bpel
POSTGRES_PASSWORD: openforms2bpel
POSTGRES_DB: openforms2bpel
services:
openforms2bpel-postgres:
image: postgres:${POSTGRES_VERSION:-14}
environment:
<<: *openforms2bpel-postgres-env
POSTGRES_HOST_AUTH_METHOD: trust
ports:
- 5400:5432
networks:
- zaakbrug-backend
volumes:
- openforms2bpel-postgres-data:/var/lib/postgresql/data
openforms2bpel-pgadmin:
profiles:
- pgadmin
image: dpage/pgadmin4:${PGADMIN_VERSION:-latest}
user: root
command: ["/venv/bin/python3", "/pgadmin4/setup.py", "--load-servers", "openforms2bpel-pgadmin-conf.json", "--user", "admin@wearefrank.nl"]
ports:
- 5050:80
environment:
PGADMIN_DEFAULT_EMAIL: admin@wearefrank.nl
PGADMIN_DEFAULT_PASSWORD: admin
networks:
- zaakbrug-stack
- zaakbrug-backend
depends_on:
- openforms2bpel-postgres
openforms2bpel:
environment:
<<: *openforms2bpel-postgres-env
DB_HOSTNAME: openforms2bpel-postgres
DB_PORT: 5432
volumes:
- ./docker/openforms2bpel-postgres/context.xml:/usr/local/tomcat/conf/Catalina/localhost/ROOT.xml:rw
depends_on:
- openforms2bpel-postgres
volumes:
openforms2bpel-postgres-data: