-
Notifications
You must be signed in to change notification settings - Fork 54
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
79 lines (72 loc) · 1.8 KB
/
docker-compose.yml
File metadata and controls
79 lines (72 loc) · 1.8 KB
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
services:
aprsc:
build:
context: .
dockerfile: trackdirect-aprsc.dockerfile
#ports:
# - "14501:14501"
volumes:
- $PWD/config/aprsc.conf:/opt/aprsc/etc/aprsc.conf
collector:
build:
context: .
dockerfile: trackdirect-python.dockerfile
volumes:
- $PWD/config/trackdirect.ini:/root/trackdirect/config/trackdirect.ini
command: /root/trackdirect/server/scripts/collector.sh trackdirect.ini 0
depends_on:
- "db"
- "aprsc"
websocket:
build:
context: .
dockerfile: trackdirect-python.dockerfile
volumes:
- $PWD/config/trackdirect.ini:/root/trackdirect/config/trackdirect.ini
command: /root/trackdirect/server/scripts/wsserver.sh trackdirect.ini
#ports:
# - "8090:8090"
depends_on:
- "db"
- "aprsc"
cron:
build:
context: .
dockerfile: trackdirect-cron.dockerfile
volumes:
- $PWD/config/trackdirect.ini:/root/trackdirect/config/trackdirect.ini
depends_on:
- "db"
web:
build:
context: .
dockerfile: trackdirect-apache.dockerfile
volumes:
- $PWD/config/trackdirect.ini:/root/trackdirect/config/trackdirect.ini
- ./htdocs/public:/root/trackdirect/htdocs/public # For development
#ports:
# - "8080:80"
depends_on:
- "db"
db:
build:
context: .
dockerfile: trackdirect-db.dockerfile
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: foobar
POSTGRES_DB: trackdirect
volumes:
- $PWD/db:/var/lib/postgresql/data
command: -c config_file=/etc/postgresql.conf
#ports:
# - "5432:5432"
reverseproxy:
build:
context: .
dockerfile: trackdirect-reverseproxy.dockerfile
ports:
- "80:80"
depends_on:
- "web"
- "websocket"