-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
52 lines (49 loc) · 935 Bytes
/
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
consul:
image: qnib/consul
ports:
- "8500:8500"
environment:
- DC_NAME=dc1
- RUN_SERVER=true
- BOOTSTRAP_CONSUL=true
dns: 127.0.0.1
hostname: consul
slurmctld:
image: qnib/slurmctld
ports:
- "6817:6817"
links:
- consul:consul
environment:
- DC_NAME=dc1
volumes:
- /scratch/
dns: 127.0.0.1
hostname: slurmctld
privileged: true
devel:
image: qnib/compute
hostname: devel
links:
- consul:consul
environment:
- DC_NAME=dc1
- SUPERVISOR_SKIP_SRV=slurm_update,slurmd
volumes_from:
- slurmctld
volumes:
- ./opt/qnib/src/:/opt/qnib/src/
dns: 127.0.0.1
privileged: true
compute:
image: qnib/compute
links:
- consul:consul
- slurmctld:slurmctld
environment:
- DC_NAME=dc1
volumes_from:
- slurmctld
dns: 127.0.0.1
#hostname: slurmd
privileged: true