This commit is contained in:
1 parent
60cd2e685d
commit
f069ad32e8
1 file changed
+2
-8
@@ -5,6 +5,8 @@ services:
|
|||||||
hostname: ${SAMBA_HOSTNAME}
|
hostname: ${SAMBA_HOSTNAME}
|
||||||
domainname: ${SAMBA_DOMAIN}
|
domainname: ${SAMBA_DOMAIN}
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
privileged: true
|
||||||
|
network_mode: host
|
||||||
environment:
|
environment:
|
||||||
__ENV_BLOCK__
|
__ENV_BLOCK__
|
||||||
volumes:
|
volumes:
|
||||||
@@ -12,12 +14,4 @@ __ENV_BLOCK__
|
|||||||
- ./private:/var/lib/samba
|
- ./private:/var/lib/samba
|
||||||
- ./state/log:/var/log/samba
|
- ./state/log:/var/log/samba
|
||||||
- ./state/run:/run/samba
|
- ./state/run:/run/samba
|
||||||
networks:
|
|
||||||
samba-ad-lan:
|
|
||||||
ipv4_address: ${SAMBA_IP}
|
|
||||||
stop_grace_period: 60s
|
stop_grace_period: 60s
|
||||||
|
|
||||||
networks:
|
|
||||||
samba-ad-lan:
|
|
||||||
external: true
|
|
||||||
|
|
||||||
Reference in new issue
Block a user