-
Notifications
You must be signed in to change notification settings - Fork 47
/
Copy pathdocker-compose.yml
48 lines (44 loc) · 1.05 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
services:
ipaserver:
image: ipaserver
build:
context: ./container
dockerfile: Dockerfile.ipa
args:
IPA_DS_PASS: $IPA_DS_PASS
IPA_ADMIN_PASS: $IPA_ADMIN_PASS
hostname: ipa.mokey.local
container_name: mokeyipaserver
cgroup: host
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
- mokeyipa_data:/data
stop_signal: RTMIN+3
sysctls:
- net.ipv6.conf.all.disable_ipv6=0
ipaclient:
image: ipaclient
build:
context: ./container
dockerfile: Dockerfile.client
args:
DEV_SSH_KEY: $DEV_SSH_KEY
GO_VERSION: $GO_VERSION
USER_ID: ${UID:-1000}
USER: ${USER:-developer}
hostname: client.mokey.local
container_name: mokeyipaclient
cgroup: host
volumes:
- .:/app:cached
- /sys/fs/cgroup:/sys/fs/cgroup:rw
- mokeyclient_data:/data
stop_signal: RTMIN+3
links:
- ipaserver:ipa.mokey.local
ports:
- "127.0.0.1:9023:22"
- "0.0.0.0:8080:8080"
volumes:
mokeyipa_data:
mokeyclient_data: