-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
45 lines (42 loc) · 1.08 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
version: "2"
services:
ipa:
image: freeipa/freeipa-server:rocky-9-4.10.1
container_name: ipa
hostname: ipa.yourdomain.local
restart: always
volumes:
- "/sys/fs/cgroup:/sys/fs/cgroup:ro"
- "ipa-data:/data"
environment:
- PASSWORD=YOUR_PASSWORD
- IPA_SERVER_IP=172.16.30.2
command: ipa-server-install --domain='your_domain' --realm='YOUR_REAL_NAME' --no-ntp --setup-adtrust --setup-kra --enable-compat --netbios-name=YOUR_BIOS_NAME --setup-dns --forwarder='1.1.1.1' --forward-policy=only --unattended
ports:
- "53:53"
- "80:80"
- "443:443"
- "389:389"
- "636:636"
- "88:88"
- "464:464"
- "88:88/udp"
- "53:53/udp"
- "464:464/udp"
networks:
ipa_network:
ipv4_address: 172.16.30.2
sysctls:
- net.ipv6.conf.all.disable_ipv6=0
networks:
ipa_network:
driver: bridge
ipam:
driver: default
config:
- subnet: 172.16.30.0/24
gateway: 172.16.30.3
aux_addresses:
dns: 172.16.30.2
volumes:
ipa-data: