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 SMB_REALM: EXAMPLE.NET SMB_DOMAIN: HOGEDOMAIN SMB_ADMINPASS: p@ssword123 SMB_HOSTIP: ${RESTOREDIP} SMB_FORWARD: ${FORWARDERIP} SMB_RPC_PORTS: 49152-49200 SMB_WEB_PORTS: 8081 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 network_mode: "host" hostname: addcr dns: - ${RESTOREDIP} dns_search: - example.net privileged: true volumes: samba_etc: samba_lib: bind_etc: bind_lib: lam: