-
Notifications
You must be signed in to change notification settings - Fork 89
/
docker-compose.yml
44 lines (42 loc) · 918 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
version: "3.1"
services:
app:
image: ${REGISTRY_URI:-instantlinux}/samba-dc:latest
restart: always
network_mode: host
cap_add:
- CAP_SYS_ADMIN
hostname: ${SAMBADC_HOSTNAME:-dc.example.com}
environment:
DOMAIN_ACTION: join
INTERFACES: ${SAMBADC_INTERFACES:-lo eth0}
REALM: ${SAMBA_REALM:-ad.example.com}
TZ: ${TZ:-UTC}
WORKGROUP: ${SAMBA_WORKGROUP:-AD}
volumes:
- etc:/etc/samba
- lib:/var/lib/samba
ports:
- 53:53
- 53:53/udp
- 88:88
- 88:88/udp
- 135:135
- 137-138:137-138/udp
- 139:139
- 389:389
- 389:389/udp
- 445:445
- 464:464
- 464:464/udp
- 636:636
- 3268-3269:3268-3269
- 49152-65535
secrets:
- samba-admin-password
volumes:
etc:
lib:
secrets:
samba-admin-password:
file: /var/adm/admin/secrets/samba-admin-password