add networkmode host
build-and-push.yaml / release-and-build (push) Successful in 1m18s

This commit is contained in:
pi-farm committed 2026-10-29 08:51:30 +00:00
1 parent 60cd2e685d
commit f069ad32e8
1 file changed
+2 -8
+2 -8
View File
@@ -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