-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.dev.yml
100 lines (95 loc) · 2.42 KB
/
docker-compose.dev.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
services:
db:
image: postgis/postgis:13-master
ports:
- "5434:5432"
environment:
- POSTGRES_PASSWORD=postgres
- POSTGRES_USER=postgres
- POSTGRES_DB=postgres
command: ["postgres", "-c", "log_statement=all"]
db_manager:
build:
context: .
dockerfile: database/db_manager.Dockerfile
env_file:
- .env
environment:
- DB_INSTANCE_ADDRESS=db
- DB_INSTANCE_PORT=5432
- READ_FROM_AWS=0
ports:
- "8081:8080"
depends_on:
- db
volumes:
- ./database/db_manager/db_manager.py:/var/task/app.py
koodistot_loader:
build:
context: .
dockerfile: database/koodistot_loader.Dockerfile
env_file:
- .env
environment:
- DB_INSTANCE_ADDRESS=db
- DB_INSTANCE_PORT=5432
- READ_FROM_AWS=0
ports:
- "8082:8080"
depends_on:
- db
volumes:
- ./database/koodistot_loader/koodistot_loader.py:/var/task/app.py
ryhti_client:
build:
context: .
dockerfile: database/ryhti_client.Dockerfile
env_file:
- .env
environment:
- DB_INSTANCE_ADDRESS=db
- DB_INSTANCE_PORT=5432
- READ_FROM_AWS=0
- SYKE_APIKEY
- XROAD_HTTP_PORT=1080
- XROAD_SERVER_ADDRESS=mock_xroad
- XROAD_MEMBER_CLASS=COM
- XROAD_MEMBER_CODE=2455538-5
- XROAD_MEMBER_CLIENT_NAME=ryhti-gispo-client
- XROAD_SYKE_CLIENT_ID=test-id
- XROAD_SYKE_CLIENT_SECRET=test-secret
ports:
- "8083:8080"
depends_on:
- db
- mock_xroad
volumes:
- ./database/ryhti_client/ryhti_client.py:/var/task/app.py
- ./database/ryhti_debug:/var/task/ryhti_debug
mml_loader:
build:
context: .
dockerfile: database/mml_loader.Dockerfile
env_file:
- .env
environment:
- DB_INSTANCE_ADDRESS=db
- DB_INSTANCE_PORT=5432
- READ_FROM_AWS=0
- MML_APIKEY
ports:
- "8085:8080"
depends_on:
- db
volumes:
- ./database/mml_loader/mml_loader.py:/var/task/app.py
mock_xroad:
image: mockserver/mockserver:latest
ports:
- 8443:1080
environment:
- MOCKSERVER_WATCH_INITIALIZATION_JSON="true"
- MOCKSERVER_PROPERTY_FILE=/config/mockserver.properties
- MOCKSERVER_INITIALIZATION_JSON_PATH=/config/initializerJson.json
volumes:
- ./database/test/test_services_mock_xroad.json:/config/initializerJson.json:Z