-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
executable file
·59 lines (55 loc) · 1.22 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
services:
ldap:
build:
context: ./ldap
container_name: ldap
ports:
- "389:389"
- "636:636"
environment:
- LDAP_ORGANISATION=Example Inc.
- LDAP_DOMAIN=example.org
- LDAP_ADMIN_PASSWORD=admin
restart: unless-stopped
networks:
- network-1
ondemand:
build:
context: ./ondemand
container_name: ondemand
ports:
- "80:80"
- "8080:8080"
- "5554:5554"
- "5556:5556"
restart: unless-stopped
networks:
- network-1
depends_on:
- ldap
- slurm-controller
slurm-controller:
hostname: slurm-controller
environment:
- SLURMCTLD_HOST=slurm-controller
- SLURM_EXPORT_ENV=ALL
build:
context: ./slurm-controller
container_name: slurm-controller
networks:
- network-1
slurm-compute-node-1:
hostname: slurm-compute-node-1
environment:
- SLURMCTLD_HOST=slurm-controller
- SLURM_EXPORT_ENV=ALL
build:
context: ./slurm-compute-node-1
container_name: slurm-compute-node-1
networks:
- network-1
depends_on:
- slurm-controller
networks:
network-1:
driver: bridge