add networkmode host [skip ci]

This commit is contained in:
Gitea Action committed 2026-10-29 08:52:43 +00:00
1 parent f069ad32e8
commit dc35a5d205
3 files changed
+11 -21

No files matched your search

+3 -9
View File
@@ -5,6 +5,8 @@ services:
hostname: ${SAMBA_HOSTNAME}
domainname: ${SAMBA_DOMAIN}
restart: unless-stopped
privileged: true
network_mode: host
environment:
SAMBA_REALM: ${SAMBA_REALM}
SAMBA_DOMAIN: ${SAMBA_DOMAIN}
@@ -19,12 +21,4 @@ services:
- ./private:/var/lib/samba
- ./state/log:/var/log/samba
- ./state/run:/run/samba
networks:
samba-ad-lan:
ipv4_address: ${SAMBA_IP}
stop_grace_period: 60s
networks:
samba-ad-lan:
external: true
stop_grace_period: 60s