-
Notifications
You must be signed in to change notification settings - Fork 39
/
docker-compose.yml
45 lines (42 loc) · 994 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
version: "3.8"
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: ipaserver
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- ipa_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: ipaclient
volumes:
- .:/app:cached
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- client_data:/data
stop_signal: RTMIN+3
links:
- ipaserver:ipa.mokey.local
ports:
- "127.0.0.1:9022:22"
volumes:
ipa_data:
client_data: