-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathdocker-compose.yml
74 lines (66 loc) · 1.58 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
64
65
66
67
68
69
70
71
72
73
74
services:
web:
build: ./
image: hpcperfstats
links:
- db
command: /home/hpcperfstats/services-conf/django_startup.sh
env_file:
- ./.env.dev
volumes:
- hpcperfstatsweblog:/hpcperfstats/logs/
pipeline:
image: hpcperfstats
links:
- db
- rabbitmq
depends_on:
- web
command: /home/hpcperfstats/services-conf/supervisor_startup.sh
volumes:
- hpcperfstatsdata:/hpcperfstats/
- /home/sharrell/.ssh:/hpcperfstats/.ssh/
env_file:
- ./.env.dev
proxy:
restart: always
image: nginx:1-alpine
links:
- web
ports:
- 80:80
- 443:443
volumes:
- ./services-conf/nginx.conf:/etc/nginx/conf.d/default.conf
- /etc/letsencrypt/:/etc/letsencrypt/
db:
image: timescale/timescaledb:latest-pg15
volumes:
- postgres_data:/var/lib/postgresql/data/
environment:
- POSTGRES_USER=hpcperfstats
- POSTGRES_PASSWORD=hpcperfstats
rabbitmq:
image: rabbitmq:4-alpine
ports:
- 5672:5672
# Admin Console
# - 15672:15672
volumes:
- rabbitmq_messages:/var/lib/rabbitmq/
- /var/log/rabbitmq:/var/log/rabbitmq
volumes:
postgres_data:
rabbitmq_messages:
hpcperfstatsdata:
driver: local
driver_opts:
type: none
device: /home/sharrell/s3-stats/hpcperfstats_data/
o: bind
hpcperfstatsweblog:
driver: local
driver_opts:
type: none
device: /home/sharrell/s3-stats/hpcperfstats_log
o: bind