-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
58 lines (56 loc) · 1.19 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
version: "3.9"
services:
cm:
image: htcondor/cm:9.2-el7
environment:
- LANG=en_US.UTF-8
- USE_POOL_PASSWORD=yes
volumes:
- type: bind
source: ./passwd
target: /etc/condor/passwords-orig.d
- type: bind
source: ./config/cm
target: /root/config
execute:
image: htcondor/execute:9.2-el7
environment:
- LANG=en_US.UTF-8
- CONDOR_HOST=cm
- NUM_CPUS=2
- MEMORY=2048
- USE_POOL_PASSWORD=yes
volumes:
- type: bind
source: ./passwd
target: /etc/condor/passwords-orig.d
- type: bind
source: ./config/execute
target: /root/config
deploy:
replicas: 5
resources:
limits:
cpus: '2'
memory: 2048M
reservations:
cpus: '2'
memory: 2048M
depends_on:
- cm
submit:
build: .
environment:
- LANG=en_US.UTF-8
- CONDOR_HOST=cm
- USE_POOL_PASSWORD=yes
volumes:
- type: bind
source: ./passwd
target: /etc/condor/passwords-orig.d
- type: bind
source: ./config/submit
target: /root/config
- ./:/srv
depends_on:
- cm