Samba-ad-dc-with-docker/docker-compose.yml.primary

42 lines
880 B
Plaintext
Raw Normal View History

2022-10-08 15:54:09 +09:00
version: "3.9"
services:
samba:
build: ./
image: custom/samba:1.0.0
container_name: samba
restart: unless-stopped
environment:
TZ: Asia/Tokyo
2022-10-16 21:23:14 +09:00
SMB_REALM: EXAMPLE.NET
2022-10-08 15:54:09 +09:00
SMB_DOMAIN: HOGEDOMAIN
SMB_ADMINPASS: p@ssword123
SMB_HOSTIP: ${PRIMARYIP}
2022-10-16 21:23:14 +09:00
SMB_FORWARD: ${FORWARDERIP}
2022-10-08 15:54:09 +09:00
SMB_RPC_PORTS: 49152-49200
2022-10-16 21:23:14 +09:00
SMB_WEB_PORTS: 8081
2022-10-08 15:54:09 +09:00
SMB_PURPOSE: "primary"
SMB_USEBIND9: "false"
#RSY_SECONDARY: ${SECONDARYIP}
#RSY_PASS: p@ssword234
volumes:
- samba_etc:/etc/samba
- samba_lib:/var/lib/samba
- bind_etc:/etc/bind
- bind_lib:/var/lib/bind
- lam:/var/lib/ldap-account-manager
2022-10-16 21:23:14 +09:00
network_mode: "host"
2022-10-08 15:54:09 +09:00
hostname: addc
dns:
2022-10-16 21:23:14 +09:00
- ${PRIMARYIP}
2022-10-08 15:54:09 +09:00
dns_search:
2022-10-16 21:23:14 +09:00
- example.net
2022-10-08 15:54:09 +09:00
privileged: true
volumes:
samba_etc:
samba_lib:
bind_etc:
bind_lib:
lam: