From dc35a5d205cb398e129c70780c4ed722deb304a5 Mon Sep 17 00:00:00 2001 From: Gitea Action Date: Thu, 29 Oct 2026 08:52:43 +0000 Subject: [PATCH] add networkmode host [skip ci] --- README.md | 19 +++++++------------ VERSION.history | 1 + docker-compose.yml | 12 +++--------- 3 files changed, 11 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index 1523672..37e0526 100644 --- a/README.md +++ b/README.md @@ -15,8 +15,8 @@ This repository is built and pushed automatically. ### 🏗️ Platform Support | Architecture | Status | Base Image | Build Date | | :--- | :--- | :--- | :--- | -| x86_64 (amd64) | ✅ Active | debian:trixie-slim | 29.10.2026 00:37 | -| aarch64 (arm64) | ✅ Active | debian:trixie-slim | 29.10.2026 00:37 | +| x86_64 (amd64) | ✅ Active | debian:trixie-slim | 29.10.2026 09:52 | +| aarch64 (arm64) | ✅ Active | debian:trixie-slim | 29.10.2026 09:52 | --- @@ -31,6 +31,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} @@ -45,15 +47,7 @@ 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 ``` ### 🚀 2. Pull & start the container ### Pull or update the image @@ -88,10 +82,11 @@ docker run -d \ ``` -*Last updated on: 29.10.2026 00:37* +*Last updated on: 29.10.2026 09:52* ### 📜 Version History | Version | Date | Status | | :--- | :--- | :--- | +| **trixie** | 29.10.2026 09:52 | add networkmode host ✅ | | **trixie** | 29.10.2026 00:37 | ✅ | | **trixie** | 29.10.2026 00:26 | ✅ | \ No newline at end of file diff --git a/VERSION.history b/VERSION.history index 6e5f9c3..5fa195b 100644 --- a/VERSION.history +++ b/VERSION.history @@ -1,2 +1,3 @@ +| **trixie** | 29.10.2026 09:52 | add networkmode host ✅ | | **trixie** | 29.10.2026 00:37 | ✅ | | **trixie** | 29.10.2026 00:26 | ✅ | diff --git a/docker-compose.yml b/docker-compose.yml index 3724630..d8296b8 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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 - \ No newline at end of file +stop_grace_period: 60s \ No newline at end of file