-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.local.yml
88 lines (82 loc) · 2.18 KB
/
docker-compose.local.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
# Spins up all controllers in implementations
#
version: '3.5'
networks:
agency-network:
name: agency-network
driver: bridge
ipam:
driver: default
config:
- subnet: 10.0.0.0/24
services:
protocol-fsp-db:
image: postgres:11
container_name: protocol-fsp-db
command: postgres -c logging_collector=on -c log_destination=stderr
networks:
- agency-network
tty: true
environment:
- POSTGRES_DB=tx_system
- POSTGRES_USER=dbuser
- POSTGRES_PASSWORD=dbpass
- POSTGRES_PORT=5432
protocol-tdc-db:
image: postgres:11
container_name: protocol-tdc-db
command: postgres -c logging_collector=on -c log_destination=stderr
networks:
- agency-network
tty: true
environment:
- POSTGRES_DB=tx_system
- POSTGRES_USER=dbuser
- POSTGRES_PASSWORD=dbpass
- POSTGRES_PORT=5432
kiva-controller:
env_file:
- ./implementations/kiva/.env
build:
context: ./implementations/kiva
dockerfile: Dockerfile
image: kiva-controller
container_name: kiva-controller
working_dir: /www
ports:
- "3011:3011"
networks:
- agency-network
tty: true
fsp-controller:
env_file:
- ./implementations/fsp/.env
build:
context: ./implementations/fsp
dockerfile: Dockerfile
image: fsp-controller
container_name: fsp-controller
ports:
- "3013:3013"
expose:
- "3013"
networks:
- agency-network
depends_on:
- protocol-fsp-db
tty: true
tdc-controller:
env_file:
- implementations/tdc/.env
build:
context: implementations/tdc
dockerfile: Dockerfile
image: tdc-controller
container_name: tdc-controller
depends_on:
- protocol-tdc-db
ports:
- "3015:3015"
networks:
- agency-network
tty: true