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

40 lines
815 B
Plaintext
Raw Permalink Normal View History

2022-10-08 15:54:09 +09:00
version: "3.9"
services:
samba:
#image: ubuntu:jammy
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: ${RESTOREDIP}
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: "restore"
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: addcr
dns:
2022-10-16 21:23:14 +09:00
- ${RESTOREDIP}
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: