-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathdocker-compose.app.yaml.example
More file actions
53 lines (47 loc) · 1.18 KB
/
Copy pathdocker-compose.app.yaml.example
File metadata and controls
53 lines (47 loc) · 1.18 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
# These are the two containers that contain the web and data processing code
services:
web:
build: ./
image: hpcperfstats
container_name: hpcperfstats_web_1
restart: always
command: /home/hpcperfstats/services-conf/django_startup.sh
networks:
hpcperfstats_net:
aliases:
- web
pipeline:
image: hpcperfstats
container_name: hpcperfstats_pipeline_1
restart: always
depends_on:
- web
command: /home/hpcperfstats/services-conf/supervisor_startup.sh
ports:
- 514:514/udp
- 514:514/tcp
volumes:
- hpcperfstatsdata:/hpcperfstats/
# The ssh keys don't have to be a user's, they just have to be a .ssh directory
- /home/sharrell/.ssh:/hpcperfstats/.ssh/:ro
- hpcperfstatsnodelog:/hpcperfstatslog/
networks:
hpcperfstats_net:
aliases:
- pipeline
volumes:
hpcperfstatsdata:
driver: local
driver_opts:
type: none
device: /opt/hpcperfstats_data/
o: bind
hpcperfstatsnodelog:
driver: local
driver_opts:
type: none
device: /opt/hpcperfstats_log
o: bind
networks:
hpcperfstats_net:
name: hpcperfstats_net