-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
46 lines (42 loc) · 1.16 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
version: "3"
networks:
registry-manager-net:
volumes:
aspsp-registry-manager-data:
services:
registry-manager-app:
image: registry-manager-app
build:
context: registry-manager-app
dockerfile: Dockerfile
restart: on-failure
ports:
- "8089:8089"
networks:
- registry-manager-net
environment:
- JAVA_TOOL_OPTIONS="-Xmx1024m"
- SPRING_DATASOURCE_URL=jdbc:postgresql://aspsp-registry-postgres/aspsp_registry
- SPRING_DATASOURCE_USERNAME=manager
- SPRING_DATASOURCE_PASSWORD=manager
expose:
- 8089
depends_on:
- aspsp-registry-postgres
aspsp-registry-postgres:
image: centos/postgresql-95-centos7
volumes:
- aspsp-registry-manager-data:/var/lib/pgsql/data
- ./registry-manager-db-impl/util/pg-create-schema.sh:/usr/share/container-scripts/postgresql/start/zzz-create-schema.sh
restart: on-failure
ports:
- "5432:5432"
networks:
- registry-manager-net
environment:
- POSTGRESQL_ADMIN_PASSWORD=postgres
- POSTGRESQL_DATABASE=aspsp_registry
- POSTGRESQL_USER=manager
- POSTGRESQL_PASSWORD=manager
expose:
- 5432