-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose-api.yml
54 lines (48 loc) · 1.75 KB
/
docker-compose-api.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
version: "3.2"
# Starts ebics-service with a libeufin as a banking backend
services:
postgres:
platform: linux/amd64
image: postgres:11
restart: always
environment:
- POSTGRES_USER=pgrootuser
- POSTGRES_PASSWORD=pgrootpassword
- POSTGRES_DB=libeufindb
- POSTGRES_NON_ROOT_USER=pguser
- POSTGRES_NON_ROOT_PASSWORD=pgpassword
libeufin:
platform: linux/amd64
image: e36io/libeufin:main
depends_on:
- postgres
environment:
- LIBEUFIN_SANDBOX_URL=http://localhost:5016/
- LIBEUFIN_SANDBOX_DB_CONNECTION=jdbc:postgresql://postgres:5432/libeufindb?user=pgrootuser&password=pgrootpassword
- LIBEUFIN_NEXUS_DB_CONNECTION=jdbc:postgresql://postgres:5432/libeufindb?user=pgrootuser&password=pgrootpassword
- LIBEUFIN_NEXUS_URL=http://localhost:5000/
- EBICS_BASE_URL=http://localhost:5016/ebicsweb
- POSTGRES_USER=pgrootuser
- POSTGRES_PASSWORD=pgrootpassword
- POSTGRES_HOST=postgres
- POSTGRES_DB=libeufindb
command: /app/scripts/init_libeufin_sandbox.sh
tty: true
stdin_open: true # without this node doesn't start; https://stackoverflow.com/questions/61857267/how-to-make-yarn-start-work-inside-docker-image-with-react-scripts-3-4-and-babel
ports:
- "5016:5016" # sandbox
- "5000:5000" # nexus
- "3000:3000" # ui - login: foo/superpassword
volumes:
- ./scripts:/app/scripts
ebics-service:
platform: linux/amd64
image: e36io/ebics-service:main
depends_on:
- libeufin
environment:
- spring_profiles_active=sandbox
- LIBEUFIN_SANDBOX_URL=http://libeufin:5016 # overwrite localhost in configs
- LIBEUFIN_NEXUS_URL=http://libeufin:5000
ports:
- "8093:8093"