-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-dev.yaml
64 lines (63 loc) · 1.47 KB
/
docker-compose-dev.yaml
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
version: "3"
services:
gui:
image: gui
volumes:
- ./gui/src:/app/src
ports:
- "3000:3000"
networks:
- basic_net
environment:
- WATCHPACK_POLLING=true
webservice:
image: webservice
ports:
- "8000:8000"
environment:
- ECU_IP=fake_rocket
- ECU_PORT=10004
- GSE_IP=fake_rocket
- GSE_PORT=10002
- LOAD_CELL_IP=fake_rocket
- LOAD_CELL_PORT=10069
volumes:
- ./webservice:/app
healthcheck:
test: curl --fail http://localhost:8000/ecu/state || exit 1
interval: 20s
networks:
- basic_net
postgres:
image: postgres
restart: always
environment:
POSTGRES_DB: rocket2
POSTGRES_USER: gs
POSTGRES_PASSWORD: rocket
volumes:
- ./postgres:/docker-entrypoint-initdb.d
ports:
- 5432:5432
networks:
- basic_net
adminer:
image: adminer
restart: always
ports:
- 8080:8080
fake_rocket:
image: fake_rocket
restart: always
ports:
- 1111:1111
- 2222:2222
volumes:
- ./fake_rocket:/app
depends_on:
- webservice
networks:
- basic_net
networks:
basic_net:
driver: bridge