-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
67 lines (59 loc) · 1.47 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
version: '3'
services:
suchai_gnd:
image: suchai-fs
build:
context: ./suchai-fs
dockerfile: Dockerfile
# command: bash -c "sh install_build_linux.sh && ./SUCHAI-Flight-Software/build_x86/SUCHAI_Flight_Software"
command: bash -c "python3 gnd_installer.py --env production && ./SUCHAI-Flight-Software/build_x86/SUCHAI_Flight_Software"
depends_on:
- zmq_hub
- db
environment:
- USER=root
- POSTGRES_HOST=postgresdb
network_mode: host
volumes:
- ./volumes/postgres-run:/var/run/postgresql
zmq_hub:
image: zmq-hub
build:
context: ./zmq-hub
dockerfile: Dockerfile
command: python3 -u zmqhub.py --mon
network_mode: host
ports:
- 8002:8002
- 8001:8001
- 8003:8003
db:
image: "postgres:11"
environment:
- POSTGRES_USER=root
- POSTGRES_PASSWORD=proyectosuchai2020
- LANG=C.UTF-8
- LC_ALL=C.UTF-8
ports:
- 5432:5432
volumes:
- ./volumes/postgres-data:/var/lib/postgresql/data
- ./volumes/postgres-run:/var/run/postgresql
# restart: unless-stopped
cosmos_rb:
image: cosmos-rb
build:
context: ./cosmos-rb
dockerfile: Dockerfile
network_mode: host
# command: ruby Launcher
environment:
- DISPLAY
- QT_X11_NO_MITSHM=1
- COSMOS_USERPATH=/cosmos
# volumes:
# - ./volumes/cosmos-dir:/cosmos
# pg_admin:
# image: "pgadmin4"
# ports:
# - 45483:45483