From 02789998d2fe912aed039f94dce48f0555938d52 Mon Sep 17 00:00:00 2001 From: "info@pi-farm.de" <6+pi-farm@noreply.git.pi-farm.de> Date: Wed, 28 Oct 2026 12:52:19 +0000 Subject: [PATCH 01/47] add var for base-image --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d5bba3d..8a04516 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM debian:13-slim +FROM debian:${DEBIAN_CODENAME}-slim ENV DEBIAN_FRONTEND=noninteractive -- 2.54.0 From 792879c8b1eaac31744c7953919ab8da57a12482 Mon Sep 17 00:00:00 2001 From: "info@pi-farm.de" <6+pi-farm@noreply.git.pi-farm.de> Date: Wed, 28 Oct 2026 13:13:40 +0000 Subject: [PATCH 02/47] add ARGs to Dockerfile --- Dockerfile | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 8a04516..a40b7b4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,16 @@ -FROM debian:${DEBIAN_CODENAME}-slim +ARG BUILD_BASE_IMAGE +FROM ${BUILD_BASE_IMAGE} + +ARG BUILD_MAINTAINER +ARG BUILD_TZ +ARG BUILD_APP_NAME +ARG BUILD_LANG +ARG BUILD_LANGUAGE +ARG BUILD_LC_ALL +ARG BUILD_COUNTRY + +LABEL maintainer="${BUILD_MAINTAINER}" +LABEL org.opencontainers.image.title="${BUILD_APP_NAME}" ENV DEBIAN_FRONTEND=noninteractive -- 2.54.0 From ccf6a5d8c9653d06b4ace95c3578b2ee2f17477a Mon Sep 17 00:00:00 2001 From: Gitea Action Date: Wed, 28 Oct 2026 13:14:41 +0000 Subject: [PATCH 03/47] [skip ci] --- README.md | 81 ++++++++++++++++++++++++++++++++++++++++++++++ VERSION.history | 1 + docker-compose.yml | 39 +++++++--------------- 3 files changed, 93 insertions(+), 28 deletions(-) create mode 100644 VERSION.history diff --git a/README.md b/README.md index b7ac7c1..494b1db 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,83 @@ # samba-ad-dc +Samba Active Directory Domain Controller with integrated DNS, Kerberos authentication and Chrony time synchronization. + + Build Status + + + Gitea Repository + + +This repository is built and pushed automatically. + + + +### πŸ—οΈ Platform Support +| Architecture | Status | Base Image | Build Date | +| :--- | :--- | :--- | :--- | +| x86_64 (amd64) | βœ… Active | debian:trixie-slim | 28.10.2026 14:14 | +| aarch64 (arm64) | ❌ Not supported | debian:trixie-slim | 28.10.2026 14:14 | + +--- + +## πŸ™ Method 1: Docker Compose (Recommended) + +### πŸš€ 1. Create `docker-compose.yml` +```yaml +services: + samba-ad-dc: + image: git.pi-farm.de/pi-farm/samba-ad-dc:trixie-samba-ad-dc-de-dev + container_name: samba-ad-dc + restart: unless-stopped + + environment: + - SAMBA_REALM=YOUR-DOMAIN.LOC + - SAMBA_DOMAIN=YOURDOMAIN + - SAMBA_HOSTNAME=DC01 + - SAMBA_FQDN=dc01.your-domain.loc + - SAMBA_IP=192.168.178.10 + - SAMBA_NETWORK=192.168.178.0/24 + - DNS_FORWARDER=192.168.178.1 + - SAMBA_ADMIN_PASSWORD=CHANGE-THIS-TO-A-STRONG-SECRET + + +``` +### πŸš€ 2. Pull & start the container +### Pull or update the image +```bash +docker compose pull +``` +### Start container in background +```bash +docker compose up -d +``` +--- + +## 🐳 Method 2: Standalone Container (Docker Run / CLI) +### πŸš€ 1. Pull the image manually +```bash +docker pull git.pi-farm.de/pi-farm/samba-ad-dc:trixie-samba-ad-dc-de-dev +``` +### πŸš€ 2. Run the container directly +```bash +docker run -d \ + --name samba-ad-dc \ + --restart unless-stopped \ + -e SAMBA_REALM=YOUR-DOMAIN.LOC \ + -e SAMBA_DOMAIN=YOURDOMAIN \ + -e SAMBA_HOSTNAME=DC01 \ + -e SAMBA_FQDN=dc01.your-domain.loc \ + -e SAMBA_IP=192.168.178.10 \ + -e SAMBA_NETWORK=192.168.178.0/24 \ + -e DNS_FORWARDER=192.168.178.1 \ + -e SAMBA_ADMIN_PASSWORD=CHANGE-THIS-TO-A-STRONG-SECRET \ + git.pi-farm.de/pi-farm/samba-ad-dc:trixie-samba-ad-dc-de-dev + +``` + +*Last updated on: 28.10.2026 14:14* + +### πŸ“œ Version History +| Version | Date | Status | +| :--- | :--- | :--- | +| **trixie-samba-ad-dc-de-dev** | 28.10.2026 14:14 | βœ… | \ No newline at end of file diff --git a/VERSION.history b/VERSION.history new file mode 100644 index 0000000..33bf3b6 --- /dev/null +++ b/VERSION.history @@ -0,0 +1 @@ +| **trixie-samba-ad-dc-de-dev** | 28.10.2026 14:14 | βœ… | diff --git a/docker-compose.yml b/docker-compose.yml index 98b77d3..1babec7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,33 +1,16 @@ services: samba-ad-dc: - build: - context: . - dockerfile: Dockerfile - image: pi-farm-samba-ad:latest + image: git.pi-farm.de/pi-farm/samba-ad-dc:trixie-samba-ad-dc-de-dev container_name: samba-ad-dc - hostname: ${SAMBA_HOSTNAME} - domainname: ${SAMBA_DOMAIN} restart: unless-stopped - privileged: true - environment: - SAMBA_REALM: ${SAMBA_REALM} - SAMBA_DOMAIN: ${SAMBA_DOMAIN} - SAMBA_HOSTNAME: ${SAMBA_HOSTNAME} - SAMBA_FQDN: ${SAMBA_FQDN} - SAMBA_IP: ${SAMBA_IP} - SAMBA_NETWORK: ${SAMBA_NETWORK} - DNS_FORWARDER: ${DNS_FORWARDER} - SAMBA_ADMIN_PASSWORD: ${SAMBA_ADMIN_PASSWORD} - volumes: - - ./config:/etc/samba - - ./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 + environment: + - SAMBA_REALM=YOUR-DOMAIN.LOC + - SAMBA_DOMAIN=YOURDOMAIN + - SAMBA_HOSTNAME=DC01 + - SAMBA_FQDN=dc01.your-domain.loc + - SAMBA_IP=192.168.178.10 + - SAMBA_NETWORK=192.168.178.0/24 + - DNS_FORWARDER=192.168.178.1 + - SAMBA_ADMIN_PASSWORD=CHANGE-THIS-TO-A-STRONG-SECRET + -- 2.54.0 From 1afad372d3ac62bd646173386e836309ebb76d37 Mon Sep 17 00:00:00 2001 From: "info@pi-farm.de" <6+pi-farm@noreply.git.pi-farm.de> Date: Wed, 28 Oct 2026 13:55:45 +0000 Subject: [PATCH 04/47] fix BUILD_TAG --- buildargs.env | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildargs.env b/buildargs.env index bed51b1..231ddf4 100644 --- a/buildargs.env +++ b/buildargs.env @@ -4,7 +4,7 @@ BUILD_COUNTRY=de ## BUILD STAGE BUILD_BASE_IMAGE="debian:${DEBIAN_CODENAME}-slim" -BUILD_TAG="${DEBIAN_CODENAME}-samba-ad-dc-${BUILD_COUNTRY}" +BUILD_TAG="${DEBIAN_CODENAME}" BUILD_TAG_LATEST=n BUILD_MAINTAINER=pi-farm BUILD_APP_NAME=samba-ad-dc -- 2.54.0 From 6f51a91a2be36ef52933006dab5f90d985fbb989 Mon Sep 17 00:00:00 2001 From: "info@pi-farm.de" <6+pi-farm@noreply.git.pi-farm.de> Date: Wed, 28 Oct 2026 14:30:08 +0000 Subject: [PATCH 05/47] add docker-compose.template --- .gitea/docker-compose.template | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .gitea/docker-compose.template diff --git a/.gitea/docker-compose.template b/.gitea/docker-compose.template new file mode 100644 index 0000000..249b310 --- /dev/null +++ b/.gitea/docker-compose.template @@ -0,0 +1,23 @@ +services: + __REPO_NAME__: + image: __FULL_URL__:__BUILD_TAG__ + container_name: __REPO_NAME__ + hostname: ${SAMBA_HOSTNAME} + domainname: ${SAMBA_DOMAIN} + restart: unless-stopped + privileged: true + environment: +__ENV_BLOCK__ + volumes: + - ./config:/etc/samba + - ./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 -- 2.54.0 From c8c9d9f1e165573472ecf62e46fcea086b2c5976 Mon Sep 17 00:00:00 2001 From: Gitea Action Date: Wed, 28 Oct 2026 14:30:27 +0000 Subject: [PATCH 06/47] add docker-compose.template [skip ci] --- README.md | 13 +++++++------ VERSION.history | 1 + docker-compose.yml | 2 +- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 494b1db..a3b643e 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 | 28.10.2026 14:14 | -| aarch64 (arm64) | ❌ Not supported | debian:trixie-slim | 28.10.2026 14:14 | +| x86_64 (amd64) | βœ… Active | debian:trixie-slim | 28.10.2026 15:30 | +| aarch64 (arm64) | ❌ Not supported | debian:trixie-slim | 28.10.2026 15:30 | --- @@ -26,7 +26,7 @@ This repository is built and pushed automatically. ```yaml services: samba-ad-dc: - image: git.pi-farm.de/pi-farm/samba-ad-dc:trixie-samba-ad-dc-de-dev + image: git.pi-farm.de/pi-farm/samba-ad-dc:trixie-dev container_name: samba-ad-dc restart: unless-stopped @@ -56,7 +56,7 @@ docker compose up -d ## 🐳 Method 2: Standalone Container (Docker Run / CLI) ### πŸš€ 1. Pull the image manually ```bash -docker pull git.pi-farm.de/pi-farm/samba-ad-dc:trixie-samba-ad-dc-de-dev +docker pull git.pi-farm.de/pi-farm/samba-ad-dc:trixie-dev ``` ### πŸš€ 2. Run the container directly ```bash @@ -71,13 +71,14 @@ docker run -d \ -e SAMBA_NETWORK=192.168.178.0/24 \ -e DNS_FORWARDER=192.168.178.1 \ -e SAMBA_ADMIN_PASSWORD=CHANGE-THIS-TO-A-STRONG-SECRET \ - git.pi-farm.de/pi-farm/samba-ad-dc:trixie-samba-ad-dc-de-dev + git.pi-farm.de/pi-farm/samba-ad-dc:trixie-dev ``` -*Last updated on: 28.10.2026 14:14* +*Last updated on: 28.10.2026 15:30* ### πŸ“œ Version History | Version | Date | Status | | :--- | :--- | :--- | +| **trixie-dev** | 28.10.2026 15:30 | add docker-compose.template βœ… | | **trixie-samba-ad-dc-de-dev** | 28.10.2026 14:14 | βœ… | \ No newline at end of file diff --git a/VERSION.history b/VERSION.history index 33bf3b6..f018182 100644 --- a/VERSION.history +++ b/VERSION.history @@ -1 +1,2 @@ +| **trixie-dev** | 28.10.2026 15:30 | add docker-compose.template βœ… | | **trixie-samba-ad-dc-de-dev** | 28.10.2026 14:14 | βœ… | diff --git a/docker-compose.yml b/docker-compose.yml index 1babec7..a4a784b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,6 +1,6 @@ services: samba-ad-dc: - image: git.pi-farm.de/pi-farm/samba-ad-dc:trixie-samba-ad-dc-de-dev + image: git.pi-farm.de/pi-farm/samba-ad-dc:trixie-dev container_name: samba-ad-dc restart: unless-stopped -- 2.54.0 From ec129dcc31e298ae349b095e23ad563723e22c3a Mon Sep 17 00:00:00 2001 From: "info@pi-farm.de" <6+pi-farm@noreply.git.pi-farm.de> Date: Wed, 28 Oct 2026 14:34:28 +0000 Subject: [PATCH 07/47] add README.template --- .gitea/README.template | 55 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 .gitea/README.template diff --git a/.gitea/README.template b/.gitea/README.template new file mode 100644 index 0000000..717a0bb --- /dev/null +++ b/.gitea/README.template @@ -0,0 +1,55 @@ +# __REPO_NAME__ +__DESCRIPTION__ + + + Build Status + + + Gitea Repository + + +This repository is built and pushed automatically. + +__DOCKERHUB_LINK__ + +### πŸ—οΈ Platform Support +| Architecture | Status | Base Image | Build Date | +| :--- | :--- | :--- | :--- | +| x86_64 (amd64) | βœ… Active | __BASE_IMAGE__ | __CURRENT_DATE__ | +| aarch64 (arm64) | __ARM_STATUS__ | __BASE_IMAGE__ | __CURRENT_DATE__ | + +--- + +## πŸ™ Method 1: Docker Compose (Recommended) + +### πŸš€ 1. Create `docker-compose.yml` +```yaml +__COMPOSE_BLOCK__ +``` +### πŸš€ 2. Pull & start the container +### Pull or update the image +```bash +docker compose pull +``` +### Start container in background +```bash +docker compose up -d +``` +--- + +## 🐳 Method 2: Standalone Container (Docker Run / CLI) +### πŸš€ 1. Pull the image manually +```bash +docker pull __FULL_URL__:__BUILD_TAG__ +``` +### πŸš€ 2. Run the container directly +```bash +__DOCKER_RUN__ +``` + +*Last updated on: __CURRENT_DATE__* + +### πŸ“œ Version History +| Version | Date | Status | +| :--- | :--- | :--- | +__HISTORY_CONTENT__ \ No newline at end of file -- 2.54.0 From 7947c65e392d92f0f401717e62697a9a293ad40c Mon Sep 17 00:00:00 2001 From: Gitea Action Date: Wed, 28 Oct 2026 14:34:46 +0000 Subject: [PATCH 08/47] add README.template [skip ci] --- README.md | 7 ++++--- VERSION.history | 1 + 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a3b643e..db15652 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 | 28.10.2026 15:30 | -| aarch64 (arm64) | ❌ Not supported | debian:trixie-slim | 28.10.2026 15:30 | +| x86_64 (amd64) | βœ… Active | debian:trixie-slim | 28.10.2026 15:34 | +| aarch64 (arm64) | ❌ Not supported | debian:trixie-slim | 28.10.2026 15:34 | --- @@ -75,10 +75,11 @@ docker run -d \ ``` -*Last updated on: 28.10.2026 15:30* +*Last updated on: 28.10.2026 15:34* ### πŸ“œ Version History | Version | Date | Status | | :--- | :--- | :--- | +| **trixie-dev** | 28.10.2026 15:34 | add README.template βœ… | | **trixie-dev** | 28.10.2026 15:30 | add docker-compose.template βœ… | | **trixie-samba-ad-dc-de-dev** | 28.10.2026 14:14 | βœ… | \ No newline at end of file diff --git a/VERSION.history b/VERSION.history index f018182..cb2c8f8 100644 --- a/VERSION.history +++ b/VERSION.history @@ -1,2 +1,3 @@ +| **trixie-dev** | 28.10.2026 15:34 | add README.template βœ… | | **trixie-dev** | 28.10.2026 15:30 | add docker-compose.template βœ… | | **trixie-samba-ad-dc-de-dev** | 28.10.2026 14:14 | βœ… | -- 2.54.0 From cb8909d120f7c1280bad4241b142ed976ace2c01 Mon Sep 17 00:00:00 2001 From: "info@pi-farm.de" <6+pi-farm@noreply.git.pi-farm.de> Date: Wed, 28 Oct 2026 14:37:03 +0000 Subject: [PATCH 09/47] fix template-path --- .gitea/workflows/build-and-push.yaml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/.gitea/workflows/build-and-push.yaml b/.gitea/workflows/build-and-push.yaml index 11e2880..65a565d 100644 --- a/.gitea/workflows/build-and-push.yaml +++ b/.gitea/workflows/build-and-push.yaml @@ -235,21 +235,21 @@ jobs: RAW_COMMIT_MSG="${{ gitea.event.head_commit.message }}" COMMIT_MSG=$(echo "$RAW_COMMIT_MSG" | sed 's/\[skip ci\]//g' | tr -d '\r\n' | xargs) - TOKEN="${{ secrets.RUNNER_TOKEN }}" - curl -sSLf -H "Authorization: token $TOKEN" \ - "https://git.pi-farm.de/pi-farm/templates/raw/branch/main/README.template" \ - -o README.template || echo "Warnung: README Template konnte nicht geladen werden" + # Lokale Templates an die vom Skript erwartete Stelle kopieren + if [ -f ".gitea/docker-compose.template" ]; then + cp .gitea/docker-compose.template docker-compose.template + elif [ -f "docker-compose.template" ]; then + echo "Using local docker-compose.template" + else + echo "❌ FEHLER: docker-compose.template nicht gefunden!" + exit 1 + fi - curl -sSLf -H "Authorization: token $TOKEN" \ - "https://git.pi-farm.de/pi-farm/templates/raw/branch/main/docker-compose.template" \ - -o docker-compose.template || echo "Warnung: Compose Template konnte nicht geladen werden" - - for t_file in README.template docker-compose.template; do - if [ -f "$t_file" ] && grep -qi "" "$t_file"; then - echo "❌ FEHLER: $t_file ist eine HTML-Loginseite! Download verworfen." - rm -f "$t_file" - fi - done + if [ -f ".gitea/README.template" ]; then + cp .gitea/README.template README.template + elif [ -f "README.template" ]; then + echo "Using local README.template" + fi NEW_ROW="| **$BUILD_TAG** | $CURRENT_TIME | $COMMIT_MSG βœ… |" if [ -f "VERSION.history" ]; then -- 2.54.0 From 802b0ac4c0eb8a5a60cee79c397457d6a3d8a686 Mon Sep 17 00:00:00 2001 From: Gitea Action Date: Wed, 28 Oct 2026 14:38:38 +0000 Subject: [PATCH 10/47] [skip ci] --- README.md | 24 ++++++++++++++++++++---- VERSION.history | 1 + docker-compose.yml | 18 +++++++++++++++++- 3 files changed, 38 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index db15652..ecc6407 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 | 28.10.2026 15:34 | -| aarch64 (arm64) | ❌ Not supported | debian:trixie-slim | 28.10.2026 15:34 | +| x86_64 (amd64) | βœ… Active | debian:trixie-slim | 28.10.2026 15:38 | +| aarch64 (arm64) | ❌ Not supported | debian:trixie-slim | 28.10.2026 15:38 | --- @@ -28,8 +28,11 @@ services: samba-ad-dc: image: git.pi-farm.de/pi-farm/samba-ad-dc:trixie-dev container_name: samba-ad-dc + hostname: ${SAMBA_HOSTNAME} + domainname: ${SAMBA_DOMAIN} restart: unless-stopped - + privileged: true + environment: environment: - SAMBA_REALM=YOUR-DOMAIN.LOC - SAMBA_DOMAIN=YOURDOMAIN @@ -40,7 +43,19 @@ services: - DNS_FORWARDER=192.168.178.1 - SAMBA_ADMIN_PASSWORD=CHANGE-THIS-TO-A-STRONG-SECRET + volumes: + - ./config:/etc/samba + - ./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 ``` ### πŸš€ 2. Pull & start the container ### Pull or update the image @@ -75,11 +90,12 @@ docker run -d \ ``` -*Last updated on: 28.10.2026 15:34* +*Last updated on: 28.10.2026 15:38* ### πŸ“œ Version History | Version | Date | Status | | :--- | :--- | :--- | +| **trixie-dev** | 28.10.2026 15:38 | βœ… | | **trixie-dev** | 28.10.2026 15:34 | add README.template βœ… | | **trixie-dev** | 28.10.2026 15:30 | add docker-compose.template βœ… | | **trixie-samba-ad-dc-de-dev** | 28.10.2026 14:14 | βœ… | \ No newline at end of file diff --git a/VERSION.history b/VERSION.history index cb2c8f8..e035559 100644 --- a/VERSION.history +++ b/VERSION.history @@ -1,3 +1,4 @@ +| **trixie-dev** | 28.10.2026 15:38 | βœ… | | **trixie-dev** | 28.10.2026 15:34 | add README.template βœ… | | **trixie-dev** | 28.10.2026 15:30 | add docker-compose.template βœ… | | **trixie-samba-ad-dc-de-dev** | 28.10.2026 14:14 | βœ… | diff --git a/docker-compose.yml b/docker-compose.yml index a4a784b..311b8ac 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,8 +2,11 @@ services: samba-ad-dc: image: git.pi-farm.de/pi-farm/samba-ad-dc:trixie-dev container_name: samba-ad-dc + hostname: ${SAMBA_HOSTNAME} + domainname: ${SAMBA_DOMAIN} restart: unless-stopped - + privileged: true + environment: environment: - SAMBA_REALM=YOUR-DOMAIN.LOC - SAMBA_DOMAIN=YOURDOMAIN @@ -14,3 +17,16 @@ services: - DNS_FORWARDER=192.168.178.1 - SAMBA_ADMIN_PASSWORD=CHANGE-THIS-TO-A-STRONG-SECRET + volumes: + - ./config:/etc/samba + - ./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 -- 2.54.0 From 48e681338e98eac9b8e1f3633f359dac8363a87e Mon Sep 17 00:00:00 2001 From: "info@pi-farm.de" <6+pi-farm@noreply.git.pi-farm.de> Date: Wed, 28 Oct 2026 14:48:18 +0000 Subject: [PATCH 11/47] rm environment --- .gitea/docker-compose.template | 1 - 1 file changed, 1 deletion(-) diff --git a/.gitea/docker-compose.template b/.gitea/docker-compose.template index 249b310..7cab98d 100644 --- a/.gitea/docker-compose.template +++ b/.gitea/docker-compose.template @@ -6,7 +6,6 @@ services: domainname: ${SAMBA_DOMAIN} restart: unless-stopped privileged: true - environment: __ENV_BLOCK__ volumes: - ./config:/etc/samba -- 2.54.0 From 854e8426d909592865452f160dc8b55ac255c758 Mon Sep 17 00:00:00 2001 From: Gitea Action Date: Wed, 28 Oct 2026 14:48:37 +0000 Subject: [PATCH 12/47] rm environment [skip ci] --- README.md | 8 ++++---- VERSION.history | 1 + docker-compose.yml | 1 - 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index ecc6407..f88e13a 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 | 28.10.2026 15:38 | -| aarch64 (arm64) | ❌ Not supported | debian:trixie-slim | 28.10.2026 15:38 | +| x86_64 (amd64) | βœ… Active | debian:trixie-slim | 28.10.2026 15:48 | +| aarch64 (arm64) | ❌ Not supported | debian:trixie-slim | 28.10.2026 15:48 | --- @@ -32,7 +32,6 @@ services: domainname: ${SAMBA_DOMAIN} restart: unless-stopped privileged: true - environment: environment: - SAMBA_REALM=YOUR-DOMAIN.LOC - SAMBA_DOMAIN=YOURDOMAIN @@ -90,11 +89,12 @@ docker run -d \ ``` -*Last updated on: 28.10.2026 15:38* +*Last updated on: 28.10.2026 15:48* ### πŸ“œ Version History | Version | Date | Status | | :--- | :--- | :--- | +| **trixie-dev** | 28.10.2026 15:48 | rm environment βœ… | | **trixie-dev** | 28.10.2026 15:38 | βœ… | | **trixie-dev** | 28.10.2026 15:34 | add README.template βœ… | | **trixie-dev** | 28.10.2026 15:30 | add docker-compose.template βœ… | diff --git a/VERSION.history b/VERSION.history index e035559..98adcc4 100644 --- a/VERSION.history +++ b/VERSION.history @@ -1,3 +1,4 @@ +| **trixie-dev** | 28.10.2026 15:48 | rm environment βœ… | | **trixie-dev** | 28.10.2026 15:38 | βœ… | | **trixie-dev** | 28.10.2026 15:34 | add README.template βœ… | | **trixie-dev** | 28.10.2026 15:30 | add docker-compose.template βœ… | diff --git a/docker-compose.yml b/docker-compose.yml index 311b8ac..6de5b9b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,7 +6,6 @@ services: domainname: ${SAMBA_DOMAIN} restart: unless-stopped privileged: true - environment: environment: - SAMBA_REALM=YOUR-DOMAIN.LOC - SAMBA_DOMAIN=YOURDOMAIN -- 2.54.0 From 090e8c9ffb080b508a620827537d0c5da6cf0d19 Mon Sep 17 00:00:00 2001 From: "info@pi-farm.de" <6+pi-farm@noreply.git.pi-farm.de> Date: Wed, 28 Oct 2026 15:08:50 +0000 Subject: [PATCH 13/47] rename to rm.template --- .gitea/{README.template => rm.template} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .gitea/{README.template => rm.template} (100%) diff --git a/.gitea/README.template b/.gitea/rm.template similarity index 100% rename from .gitea/README.template rename to .gitea/rm.template -- 2.54.0 From 8a9f7c7ff9ecf665bd19a84507fc9854b9f71a48 Mon Sep 17 00:00:00 2001 From: Gitea Action Date: Wed, 28 Oct 2026 15:09:10 +0000 Subject: [PATCH 14/47] rename to rm.template [skip ci] --- VERSION.history | 1 + 1 file changed, 1 insertion(+) diff --git a/VERSION.history b/VERSION.history index 98adcc4..beacb9b 100644 --- a/VERSION.history +++ b/VERSION.history @@ -1,3 +1,4 @@ +| **trixie-dev** | 28.10.2026 16:09 | rename to rm.template βœ… | | **trixie-dev** | 28.10.2026 15:48 | rm environment βœ… | | **trixie-dev** | 28.10.2026 15:38 | βœ… | | **trixie-dev** | 28.10.2026 15:34 | add README.template βœ… | -- 2.54.0 From a1dd7395a779d88eb648311dbc9de60b6be559bc Mon Sep 17 00:00:00 2001 From: "info@pi-farm.de" <6+pi-farm@noreply.git.pi-farm.de> Date: Wed, 28 Oct 2026 15:14:20 +0000 Subject: [PATCH 15/47] fix rm.template handling --- .gitea/workflows/build-and-push.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build-and-push.yaml b/.gitea/workflows/build-and-push.yaml index 65a565d..3c94ca5 100644 --- a/.gitea/workflows/build-and-push.yaml +++ b/.gitea/workflows/build-and-push.yaml @@ -332,10 +332,15 @@ jobs: import os, sys def process(output_file): - if not os.path.exists(output_file.replace('.md', '.template').replace('.yml', '.template')): + # Hier mappen wir README.md auf deine rm.template + if output_file == "README.md": + template_name = ".gitea/rm.template" if os.path.exists(".gitea/rm.template") else "rm.template" + else: + template_name = output_file.replace('.yml', '.template') + + if not os.path.exists(template_name): return - template_name = output_file.replace('.md', '.template').replace('.yml', '.template') with open(template_name, "r", encoding="utf-8") as f: content = f.read() -- 2.54.0 From c33fc2482fec17acbe3e520153b0980386ee6947 Mon Sep 17 00:00:00 2001 From: Gitea Action Date: Wed, 28 Oct 2026 15:14:57 +0000 Subject: [PATCH 16/47] [skip ci] --- README.md | 8 +++++--- VERSION.history | 1 + 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f88e13a..4c0a1f0 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 | 28.10.2026 15:48 | -| aarch64 (arm64) | ❌ Not supported | debian:trixie-slim | 28.10.2026 15:48 | +| x86_64 (amd64) | βœ… Active | debian:trixie-slim | 28.10.2026 16:14 | +| aarch64 (arm64) | ❌ Not supported | debian:trixie-slim | 28.10.2026 16:14 | --- @@ -89,11 +89,13 @@ docker run -d \ ``` -*Last updated on: 28.10.2026 15:48* +*Last updated on: 28.10.2026 16:14* ### πŸ“œ Version History | Version | Date | Status | | :--- | :--- | :--- | +| **trixie-dev** | 28.10.2026 16:14 | βœ… | +| **trixie-dev** | 28.10.2026 16:09 | rename to rm.template βœ… | | **trixie-dev** | 28.10.2026 15:48 | rm environment βœ… | | **trixie-dev** | 28.10.2026 15:38 | βœ… | | **trixie-dev** | 28.10.2026 15:34 | add README.template βœ… | diff --git a/VERSION.history b/VERSION.history index beacb9b..33b357e 100644 --- a/VERSION.history +++ b/VERSION.history @@ -1,3 +1,4 @@ +| **trixie-dev** | 28.10.2026 16:14 | βœ… | | **trixie-dev** | 28.10.2026 16:09 | rename to rm.template βœ… | | **trixie-dev** | 28.10.2026 15:48 | rm environment βœ… | | **trixie-dev** | 28.10.2026 15:38 | βœ… | -- 2.54.0 From 87f2a81c167d495d8554f3c39571cca953c9d9ba Mon Sep 17 00:00:00 2001 From: "info@pi-farm.de" <6+pi-farm@noreply.git.pi-farm.de> Date: Wed, 28 Oct 2026 15:18:10 +0000 Subject: [PATCH 17/47] add Dockerfile.aarch64 --- Dockerfile.aarch64 | 56 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 Dockerfile.aarch64 diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64 new file mode 100644 index 0000000..d5bba3d --- /dev/null +++ b/Dockerfile.aarch64 @@ -0,0 +1,56 @@ +FROM debian:13-slim + +ENV DEBIAN_FRONTEND=noninteractive + +RUN apt-get update && \ + apt-get install -y --no-install-recommends \ + samba \ + samba-ad-dc \ + samba-ad-provision \ + samba-dsdb-modules \ + samba-vfs-modules \ + samba-common-bin \ + python3-samba \ + smbclient \ + winbind \ + dnsutils \ + krb5-user \ + procps \ + iproute2 \ + ca-certificates \ + chrony \ + acl && \ + apt-get clean && \ + rm -rf /var/lib/apt/lists/* + +RUN mkdir -p \ + /etc/samba \ + /var/lib/samba \ + /var/lib/samba/ntp_signd \ + /var/log/samba \ + /var/log/chrony \ + /run/samba + +COPY chrony.conf /etc/chrony/chrony.conf +COPY scripts/entrypoint.sh /entrypoint.sh +RUN chmod 755 /entrypoint.sh + +EXPOSE 53/tcp +EXPOSE 53/udp +EXPOSE 88/tcp +EXPOSE 88/udp +EXPOSE 123/udp +EXPOSE 135/tcp +EXPOSE 137/udp +EXPOSE 138/udp +EXPOSE 139/tcp +EXPOSE 389/tcp +EXPOSE 389/udp +EXPOSE 445/tcp +EXPOSE 464/tcp +EXPOSE 464/udp +EXPOSE 636/tcp +EXPOSE 3268/tcp +EXPOSE 3269/tcp + +ENTRYPOINT ["/entrypoint.sh"] \ No newline at end of file -- 2.54.0 From 171d8bc12e2c68209ac065dd3e816dc1521b59a4 Mon Sep 17 00:00:00 2001 From: Gitea Action Date: Wed, 28 Oct 2026 15:24:29 +0000 Subject: [PATCH 18/47] [skip ci] --- README.md | 7 ++++--- VERSION.history | 1 + 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4c0a1f0..c0657f3 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 | 28.10.2026 16:14 | -| aarch64 (arm64) | ❌ Not supported | debian:trixie-slim | 28.10.2026 16:14 | +| x86_64 (amd64) | βœ… Active | debian:trixie-slim | 28.10.2026 16:24 | +| aarch64 (arm64) | βœ… Active | debian:trixie-slim | 28.10.2026 16:24 | --- @@ -89,11 +89,12 @@ docker run -d \ ``` -*Last updated on: 28.10.2026 16:14* +*Last updated on: 28.10.2026 16:24* ### πŸ“œ Version History | Version | Date | Status | | :--- | :--- | :--- | +| **trixie-dev** | 28.10.2026 16:24 | βœ… | | **trixie-dev** | 28.10.2026 16:14 | βœ… | | **trixie-dev** | 28.10.2026 16:09 | rename to rm.template βœ… | | **trixie-dev** | 28.10.2026 15:48 | rm environment βœ… | diff --git a/VERSION.history b/VERSION.history index 33b357e..6b12894 100644 --- a/VERSION.history +++ b/VERSION.history @@ -1,3 +1,4 @@ +| **trixie-dev** | 28.10.2026 16:24 | βœ… | | **trixie-dev** | 28.10.2026 16:14 | βœ… | | **trixie-dev** | 28.10.2026 16:09 | rename to rm.template βœ… | | **trixie-dev** | 28.10.2026 15:48 | rm environment βœ… | -- 2.54.0 From 761b4658da38fd8ef4ed46860b85342cb077d011 Mon Sep 17 00:00:00 2001 From: "info@pi-farm.de" <6+pi-farm@noreply.git.pi-farm.de> Date: Wed, 28 Oct 2026 15:37:42 +0000 Subject: [PATCH 19/47] fix docker-compose.yml handling --- .gitea/workflows/build-and-push.yaml | 80 ++++++++++++++-------------- 1 file changed, 40 insertions(+), 40 deletions(-) diff --git a/.gitea/workflows/build-and-push.yaml b/.gitea/workflows/build-and-push.yaml index 3c94ca5..0c6a8f9 100644 --- a/.gitea/workflows/build-and-push.yaml +++ b/.gitea/workflows/build-and-push.yaml @@ -329,53 +329,53 @@ jobs: fi cat << 'EOF' > update_script.py - import os, sys + import os, re - def process(output_file): - # Hier mappen wir README.md auf deine rm.template - if output_file == "README.md": - template_name = ".gitea/rm.template" if os.path.exists(".gitea/rm.template") else "rm.template" - else: - template_name = output_file.replace('.yml', '.template') + # 1. Wir lesen die SchlΓΌsselnamen (Keys) aus der buildargs.env aus, + # damit wir wissen, welche Variablen als Platzhalter eingefΓΌgt werden sollen. + env_keys = [] + if os.path.exists("buildargs.env"): + with open("buildargs.env", "r", encoding="utf-8") as f: + for line in f: + line = line.strip() + # Ignoriere Kommentare und leere Zeilen + if line and not line.startswith("#") and "=" in line: + key = line.split("=")[0].strip() + # Wir wollen nur die SAMBA_-Variablen oder alle BUILD_-Variablen ausschließen + if key.startswith("SAMBA_") or key.startswith("DNS_"): + env_keys.append(key) - if not os.path.exists(template_name): - return - - with open(template_name, "r", encoding="utf-8") as f: - content = f.read() + # Falls keine spezifischen gefunden wurden, Fallback auf die ΓΌblichen + if not env_keys: + env_keys = [ + "SAMBA_REALM", "SAMBA_DOMAIN", "SAMBA_HOSTNAME", + "SAMBA_FQDN", "SAMBA_IP", "SAMBA_NETWORK", + "DNS_FORWARDER", "SAMBA_ADMIN_PASSWORD" + ] - content = content.replace("__REPO_NAME__", os.environ.get("REPO_PURE", "")) - content = content.replace("__FULL_URL__", os.environ.get("FULL_URL", "")) - content = content.replace("__BUILD_TAG__", os.environ.get("BUILD_TAG", "")) - content = content.replace("__BASE_IMAGE__", os.environ.get("BASE_IMAGE", "")) - content = content.replace("__ARM_STATUS__", os.environ.get("ARM_STATUS", "")) - content = content.replace("__CURRENT_DATE__", os.environ.get("CURRENT_TIME", "")) - content = content.replace("__HISTORY_CONTENT__", os.environ.get("HISTORY_CONTENT", "")) - content = content.replace("__DOCKERHUB_LINK__", os.environ.get("DOCKERHUB_LINK_CONTENT", "")) - content = content.replace("__ENV_BLOCK__", os.environ.get("ENV_BLOCK_CONTENT", "").replace("\\n", "\n")) - content = content.replace("__PORTS_BLOCK__", os.environ.get("PORTS_BLOCK_CONTENT", "").replace("\\n", "\n")) - content = content.replace("__VOL_BLOCK__", os.environ.get("VOL_BLOCK_CONTENT", "").replace("\\n", "\n")) - content = content.replace("__DESCRIPTION__", os.environ.get("DESCRIPTION", "Keine Beschreibung.")) + # 2. Erzeuge den Env-Block mit ${VARIABLE_NAME} Syntax + env_block_lines = [] + for key in env_keys: + env_block_lines.append(f" {key}: ${{{key}}}") + + env_block_str = "\n".join(env_block_lines) - if "__DOCKER_RUN__" in content and os.path.exists("docker_run_block.txt"): - with open("docker_run_block.txt", "r", encoding="utf-8") as f: - content = content.replace("__DOCKER_RUN__", f.read()) + # 3. Template einlesen und Platzhalter ersetzen + template_name = ".gitea/docker-compose.template" if os.path.exists(".gitea/docker-compose.template") else "docker-compose.template" + + with open(template_name, "r", encoding="utf-8") as f: + content = f.read() - if "__COMPOSE_BLOCK__" in content and os.path.exists("docker-compose.yml"): - with open("docker-compose.yml", "r", encoding="utf-8") as f: - content = content.replace("__COMPOSE_BLOCK__", f.read()) + # Ersetzungen durchfΓΌhren + content = content.replace("__REPO_NAME__", "samba-ad-dc") + content = content.replace("__FULL_URL__", "git.pi-farm.de/pi-farm/samba-ad-dc") + content = content.replace("__BUILD_TAG__", os.environ.get("FINAL_TAG", "trixie")) + content = content.replace("__ENV_BLOCK__", env_block_str) - with open(output_file, "w", encoding="utf-8") as f: - f.write(content) - - process("docker-compose.yml") - process("README.md") + with open("docker-compose.yml", "w", encoding="utf-8") as f: + f.write(content) + print("docker-compose.yml erfolgreich mit Platzhaltern generiert!") EOF - - export REPO_PURE FULL_URL BUILD_TAG BASE_IMAGE ARM_STATUS CURRENT_TIME \ - HISTORY_CONTENT DOCKERHUB_LINK_CONTENT ENV_BLOCK_CONTENT \ - PORTS_BLOCK_CONTENT VOL_BLOCK_CONTENT DESCRIPTION - python3 update_script.py rm -f update_script.py -- 2.54.0 From 7e4e537aa7172d1fa5dcfdf08ae1946843894de5 Mon Sep 17 00:00:00 2001 From: "info@pi-farm.de" <6+pi-farm@noreply.git.pi-farm.de> Date: Wed, 28 Oct 2026 15:41:39 +0000 Subject: [PATCH 20/47] fix python error --- .gitea/workflows/build-and-push.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/build-and-push.yaml b/.gitea/workflows/build-and-push.yaml index 0c6a8f9..d0b4383 100644 --- a/.gitea/workflows/build-and-push.yaml +++ b/.gitea/workflows/build-and-push.yaml @@ -353,7 +353,7 @@ jobs: "DNS_FORWARDER", "SAMBA_ADMIN_PASSWORD" ] - # 2. Erzeuge den Env-Block mit ${VARIABLE_NAME} Syntax + # 2. Erzeuge den Env-Block mit ${VARIABLE_NAME} Syntax (doppelte geschweifte Klammern fΓΌr F-String Maskierung) env_block_lines = [] for key in env_keys: env_block_lines.append(f" {key}: ${{{key}}}") -- 2.54.0 From 3f7872d23d7239e0eaa45cb17174d168b05c5a97 Mon Sep 17 00:00:00 2001 From: "info@pi-farm.de" <6+pi-farm@noreply.git.pi-farm.de> Date: Wed, 28 Oct 2026 15:44:50 +0000 Subject: [PATCH 21/47] fix python error --- .gitea/workflows/build-and-push.yaml | 35 +++++++--------------------- 1 file changed, 9 insertions(+), 26 deletions(-) diff --git a/.gitea/workflows/build-and-push.yaml b/.gitea/workflows/build-and-push.yaml index d0b4383..1613bb3 100644 --- a/.gitea/workflows/build-and-push.yaml +++ b/.gitea/workflows/build-and-push.yaml @@ -331,42 +331,25 @@ jobs: cat << 'EOF' > update_script.py import os, re - # 1. Wir lesen die SchlΓΌsselnamen (Keys) aus der buildargs.env aus, - # damit wir wissen, welche Variablen als Platzhalter eingefΓΌgt werden sollen. - env_keys = [] - if os.path.exists("buildargs.env"): - with open("buildargs.env", "r", encoding="utf-8") as f: - for line in f: - line = line.strip() - # Ignoriere Kommentare und leere Zeilen - if line and not line.startswith("#") and "=" in line: - key = line.split("=")[0].strip() - # Wir wollen nur die SAMBA_-Variablen oder alle BUILD_-Variablen ausschließen - if key.startswith("SAMBA_") or key.startswith("DNS_"): - env_keys.append(key) + env_keys = [ + "SAMBA_REALM", "SAMBA_DOMAIN", "SAMBA_HOSTNAME", + "SAMBA_FQDN", "SAMBA_IP", "SAMBA_NETWORK", + "DNS_FORWARDER", "SAMBA_ADMIN_PASSWORD" + ] - # Falls keine spezifischen gefunden wurden, Fallback auf die ΓΌblichen - if not env_keys: - env_keys = [ - "SAMBA_REALM", "SAMBA_DOMAIN", "SAMBA_HOSTNAME", - "SAMBA_FQDN", "SAMBA_IP", "SAMBA_NETWORK", - "DNS_FORWARDER", "SAMBA_ADMIN_PASSWORD" - ] - - # 2. Erzeuge den Env-Block mit ${VARIABLE_NAME} Syntax (doppelte geschweifte Klammern fΓΌr F-String Maskierung) + # Env-Block ohne F-String-Klammern zusammenbauen, damit Gitea nicht stolpert env_block_lines = [] for key in env_keys: - env_block_lines.append(f" {key}: ${{{key}}}") + line = " " + key + ": ${" + key + "}" + env_block_lines.append(line) env_block_str = "\n".join(env_block_lines) - # 3. Template einlesen und Platzhalter ersetzen template_name = ".gitea/docker-compose.template" if os.path.exists(".gitea/docker-compose.template") else "docker-compose.template" with open(template_name, "r", encoding="utf-8") as f: content = f.read() - # Ersetzungen durchfΓΌhren content = content.replace("__REPO_NAME__", "samba-ad-dc") content = content.replace("__FULL_URL__", "git.pi-farm.de/pi-farm/samba-ad-dc") content = content.replace("__BUILD_TAG__", os.environ.get("FINAL_TAG", "trixie")) @@ -374,7 +357,7 @@ jobs: with open("docker-compose.yml", "w", encoding="utf-8") as f: f.write(content) - print("docker-compose.yml erfolgreich mit Platzhaltern generiert!") + print("docker-compose.yml erfolgreich generiert!") EOF python3 update_script.py rm -f update_script.py -- 2.54.0 From ae296e499e728e20115c6f67845fefcdff62f1a2 Mon Sep 17 00:00:00 2001 From: Gitea Action Date: Wed, 28 Oct 2026 15:45:30 +0000 Subject: [PATCH 22/47] [skip ci] --- VERSION.history | 1 + docker-compose.yml | 20 +++++++++----------- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/VERSION.history b/VERSION.history index 6b12894..092d47b 100644 --- a/VERSION.history +++ b/VERSION.history @@ -1,3 +1,4 @@ +| **trixie-dev** | 28.10.2026 16:45 | βœ… | | **trixie-dev** | 28.10.2026 16:24 | βœ… | | **trixie-dev** | 28.10.2026 16:14 | βœ… | | **trixie-dev** | 28.10.2026 16:09 | rename to rm.template βœ… | diff --git a/docker-compose.yml b/docker-compose.yml index 6de5b9b..4cda120 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,21 +1,19 @@ services: samba-ad-dc: - image: git.pi-farm.de/pi-farm/samba-ad-dc:trixie-dev + image: git.pi-farm.de/pi-farm/samba-ad-dc:trixie container_name: samba-ad-dc hostname: ${SAMBA_HOSTNAME} domainname: ${SAMBA_DOMAIN} restart: unless-stopped privileged: true - environment: - - SAMBA_REALM=YOUR-DOMAIN.LOC - - SAMBA_DOMAIN=YOURDOMAIN - - SAMBA_HOSTNAME=DC01 - - SAMBA_FQDN=dc01.your-domain.loc - - SAMBA_IP=192.168.178.10 - - SAMBA_NETWORK=192.168.178.0/24 - - DNS_FORWARDER=192.168.178.1 - - SAMBA_ADMIN_PASSWORD=CHANGE-THIS-TO-A-STRONG-SECRET - + SAMBA_REALM: ${SAMBA_REALM} + SAMBA_DOMAIN: ${SAMBA_DOMAIN} + SAMBA_HOSTNAME: ${SAMBA_HOSTNAME} + SAMBA_FQDN: ${SAMBA_FQDN} + SAMBA_IP: ${SAMBA_IP} + SAMBA_NETWORK: ${SAMBA_NETWORK} + DNS_FORWARDER: ${DNS_FORWARDER} + SAMBA_ADMIN_PASSWORD: ${SAMBA_ADMIN_PASSWORD} volumes: - ./config:/etc/samba - ./private:/var/lib/samba -- 2.54.0 From 8cafa67a200779d11a37bf15a7cb787149ab1a2c Mon Sep 17 00:00:00 2001 From: "info@pi-farm.de" <6+pi-farm@noreply.git.pi-farm.de> Date: Wed, 28 Oct 2026 16:26:18 +0000 Subject: [PATCH 23/47] add hint to .env file --- buildargs.env | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/buildargs.env b/buildargs.env index 231ddf4..b02bd5d 100644 --- a/buildargs.env +++ b/buildargs.env @@ -22,4 +22,5 @@ ENV_DNS_FORWARDER=192.168.178.1 ENV_SAMBA_ADMIN_PASSWORD=CHANGE-THIS-TO-A-STRONG-SECRET ## DOCKER / COMPOSE CONFIG -DESCRIPTION="Samba Active Directory Domain Controller with integrated DNS, Kerberos authentication and Chrony time synchronization." +DESCRIPTION="Samba Active Directory Domain Controller with integrated DNS, Kerberos authentication and Chrony time synchronization. +You have to edit the .env file only to your personal needs and start the container." -- 2.54.0 From 75165996edc9e8061f2d2bb808e42c1f734da2bb Mon Sep 17 00:00:00 2001 From: "info@pi-farm.de" <6+pi-farm@noreply.git.pi-farm.de> Date: Wed, 28 Oct 2026 16:37:13 +0000 Subject: [PATCH 24/47] fix .env in description --- buildargs.env | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildargs.env b/buildargs.env index b02bd5d..47a7cfb 100644 --- a/buildargs.env +++ b/buildargs.env @@ -23,4 +23,4 @@ ENV_SAMBA_ADMIN_PASSWORD=CHANGE-THIS-TO-A-STRONG-SECRET ## DOCKER / COMPOSE CONFIG DESCRIPTION="Samba Active Directory Domain Controller with integrated DNS, Kerberos authentication and Chrony time synchronization. -You have to edit the .env file only to your personal needs and start the container." +You have to edit the env file only to your personal needs and start the container." -- 2.54.0 From 565c1d2be6225ade325dff15867d1ee3ac1f97a9 Mon Sep 17 00:00:00 2001 From: "info@pi-farm.de" <6+pi-farm@noreply.git.pi-farm.de> Date: Wed, 28 Oct 2026 16:38:25 +0000 Subject: [PATCH 25/47] fix Description --- buildargs.env | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/buildargs.env b/buildargs.env index 47a7cfb..9c81bb6 100644 --- a/buildargs.env +++ b/buildargs.env @@ -22,5 +22,4 @@ ENV_DNS_FORWARDER=192.168.178.1 ENV_SAMBA_ADMIN_PASSWORD=CHANGE-THIS-TO-A-STRONG-SECRET ## DOCKER / COMPOSE CONFIG -DESCRIPTION="Samba Active Directory Domain Controller with integrated DNS, Kerberos authentication and Chrony time synchronization. -You have to edit the env file only to your personal needs and start the container." +DESCRIPTION="Samba Active Directory Domain Controller with integrated DNS, Kerberos authentication and Chrony time synchronization. You have to edit the env file only to your personal needs and start the container." \ No newline at end of file -- 2.54.0 From d11b64012fb2fe66a3bb1cb7611cf1805396cf9e Mon Sep 17 00:00:00 2001 From: Gitea Action Date: Wed, 28 Oct 2026 16:44:27 +0000 Subject: [PATCH 26/47] [skip ci] --- VERSION.history | 1 + 1 file changed, 1 insertion(+) diff --git a/VERSION.history b/VERSION.history index 092d47b..ab9325e 100644 --- a/VERSION.history +++ b/VERSION.history @@ -1,3 +1,4 @@ +| **trixie-dev** | 28.10.2026 17:44 | βœ… | | **trixie-dev** | 28.10.2026 16:45 | βœ… | | **trixie-dev** | 28.10.2026 16:24 | βœ… | | **trixie-dev** | 28.10.2026 16:14 | βœ… | -- 2.54.0 From 95720ff14fe0b5a1a5ce7542e6a28a894566b545 Mon Sep 17 00:00:00 2001 From: "info@pi-farm.de" <6+pi-farm@noreply.git.pi-farm.de> Date: Wed, 28 Oct 2026 16:52:44 +0000 Subject: [PATCH 27/47] fix update_script.py --- .gitea/workflows/build-and-push.yaml | 45 ++++++++++++++++++++-------- 1 file changed, 33 insertions(+), 12 deletions(-) diff --git a/.gitea/workflows/build-and-push.yaml b/.gitea/workflows/build-and-push.yaml index 1613bb3..5ca3bb7 100644 --- a/.gitea/workflows/build-and-push.yaml +++ b/.gitea/workflows/build-and-push.yaml @@ -331,13 +331,13 @@ jobs: cat << 'EOF' > update_script.py import os, re + # 1. docker-compose.yml generieren env_keys = [ "SAMBA_REALM", "SAMBA_DOMAIN", "SAMBA_HOSTNAME", "SAMBA_FQDN", "SAMBA_IP", "SAMBA_NETWORK", "DNS_FORWARDER", "SAMBA_ADMIN_PASSWORD" ] - # Env-Block ohne F-String-Klammern zusammenbauen, damit Gitea nicht stolpert env_block_lines = [] for key in env_keys: line = " " + key + ": ${" + key + "}" @@ -345,19 +345,40 @@ jobs: env_block_str = "\n".join(env_block_lines) - template_name = ".gitea/docker-compose.template" if os.path.exists(".gitea/docker-compose.template") else "docker-compose.template" - - with open(template_name, "r", encoding="utf-8") as f: - content = f.read() + compose_template = ".gitea/docker-compose.template" if os.path.exists(".gitea/docker-compose.template") else "docker-compose.template" + if os.path.exists(compose_template): + with open(compose_template, "r", encoding="utf-8") as f: + content = f.read() - content = content.replace("__REPO_NAME__", "samba-ad-dc") - content = content.replace("__FULL_URL__", "git.pi-farm.de/pi-farm/samba-ad-dc") - content = content.replace("__BUILD_TAG__", os.environ.get("FINAL_TAG", "trixie")) - content = content.replace("__ENV_BLOCK__", env_block_str) + content = content.replace("__REPO_NAME__", "samba-ad-dc") + content = content.replace("__FULL_URL__", "git.pi-farm.de/pi-farm/samba-ad-dc") + content = content.replace("__BUILD_TAG__", os.environ.get("FINAL_TAG", "trixie")) + content = content.replace("__ENV_BLOCK__", env_block_str) - with open("docker-compose.yml", "w", encoding="utf-8") as f: - f.write(content) - print("docker-compose.yml erfolgreich generiert!") + with open("docker-compose.yml", "w", encoding="utf-8") as f: + f.write(content) + print("βœ… docker-compose.yml erfolgreich generiert!") + + # 2. README.md aus rm.template generieren + readme_template = ".gitea/rm.template" if os.path.exists(".gitea/rm.template") else "rm.template" + if os.path.exists(readme_template): + with open(readme_template, "r", encoding="utf-8") as f: + rm_content = f.read() + + # Hole die Beschreibung aus den Umgebungsvariablen (aus buildargs.env) + description = os.environ.get("DESCRIPTION", "Docker Image for samba-ad-dc") + + # Platzhalter in der README ersetzen + rm_content = rm_content.replace("__BUILD_TAG__", os.environ.get("FINAL_TAG", "trixie")) + rm_content = rm_content.replace("__FULL_URL__", "git.pi-farm.de/pi-farm/samba-ad-dc") + rm_content = rm_content.replace("__DESCRIPTION__", description) + rm_content = rm_content.replace("__HISTORY_TABLE__", os.environ.get("HISTORY_CONTENT", "")) + rm_content = rm_content.replace("__DOCKER_RUN_BLOCK__", open("docker_run_block.txt", "r").read() if os.path.exists("docker_run_block.txt") else "") + + with open("README.md", "w", encoding="utf-8") as f: + f.write(rm_content) + + print("βœ… README.md erfolgreich generiert!") EOF python3 update_script.py rm -f update_script.py -- 2.54.0 From 17ce5365be8c1a85118138f39c032000db6e4952 Mon Sep 17 00:00:00 2001 From: Gitea Action Date: Wed, 28 Oct 2026 16:53:30 +0000 Subject: [PATCH 28/47] [skip ci] --- README.md | 75 +++++++++---------------------------------------- VERSION.history | 1 + 2 files changed, 14 insertions(+), 62 deletions(-) diff --git a/README.md b/README.md index c0657f3..d46a5a8 100644 --- a/README.md +++ b/README.md @@ -1,22 +1,22 @@ -# samba-ad-dc -Samba Active Directory Domain Controller with integrated DNS, Kerberos authentication and Chrony time synchronization. +# __REPO_NAME__ +Samba Active Directory Domain Controller with integrated DNS, Kerberos authentication and Chrony time synchronization. You have to edit the env file only to your personal needs and start the container. - - Build Status + + Build Status - + Gitea Repository This repository is built and pushed automatically. - +__DOCKERHUB_LINK__ ### πŸ—οΈ Platform Support | Architecture | Status | Base Image | Build Date | | :--- | :--- | :--- | :--- | -| x86_64 (amd64) | βœ… Active | debian:trixie-slim | 28.10.2026 16:24 | -| aarch64 (arm64) | βœ… Active | debian:trixie-slim | 28.10.2026 16:24 | +| x86_64 (amd64) | βœ… Active | __BASE_IMAGE__ | __CURRENT_DATE__ | +| aarch64 (arm64) | __ARM_STATUS__ | __BASE_IMAGE__ | __CURRENT_DATE__ | --- @@ -24,37 +24,7 @@ This repository is built and pushed automatically. ### πŸš€ 1. Create `docker-compose.yml` ```yaml -services: - samba-ad-dc: - image: git.pi-farm.de/pi-farm/samba-ad-dc:trixie-dev - container_name: samba-ad-dc - hostname: ${SAMBA_HOSTNAME} - domainname: ${SAMBA_DOMAIN} - restart: unless-stopped - privileged: true - environment: - - SAMBA_REALM=YOUR-DOMAIN.LOC - - SAMBA_DOMAIN=YOURDOMAIN - - SAMBA_HOSTNAME=DC01 - - SAMBA_FQDN=dc01.your-domain.loc - - SAMBA_IP=192.168.178.10 - - SAMBA_NETWORK=192.168.178.0/24 - - DNS_FORWARDER=192.168.178.1 - - SAMBA_ADMIN_PASSWORD=CHANGE-THIS-TO-A-STRONG-SECRET - - volumes: - - ./config:/etc/samba - - ./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 +__COMPOSE_BLOCK__ ``` ### πŸš€ 2. Pull & start the container ### Pull or update the image @@ -70,35 +40,16 @@ docker compose up -d ## 🐳 Method 2: Standalone Container (Docker Run / CLI) ### πŸš€ 1. Pull the image manually ```bash -docker pull git.pi-farm.de/pi-farm/samba-ad-dc:trixie-dev +docker pull git.pi-farm.de/pi-farm/samba-ad-dc:trixie ``` ### πŸš€ 2. Run the container directly ```bash -docker run -d \ - --name samba-ad-dc \ - --restart unless-stopped \ - -e SAMBA_REALM=YOUR-DOMAIN.LOC \ - -e SAMBA_DOMAIN=YOURDOMAIN \ - -e SAMBA_HOSTNAME=DC01 \ - -e SAMBA_FQDN=dc01.your-domain.loc \ - -e SAMBA_IP=192.168.178.10 \ - -e SAMBA_NETWORK=192.168.178.0/24 \ - -e DNS_FORWARDER=192.168.178.1 \ - -e SAMBA_ADMIN_PASSWORD=CHANGE-THIS-TO-A-STRONG-SECRET \ - git.pi-farm.de/pi-farm/samba-ad-dc:trixie-dev - +__DOCKER_RUN__ ``` -*Last updated on: 28.10.2026 16:24* +*Last updated on: __CURRENT_DATE__* ### πŸ“œ Version History | Version | Date | Status | | :--- | :--- | :--- | -| **trixie-dev** | 28.10.2026 16:24 | βœ… | -| **trixie-dev** | 28.10.2026 16:14 | βœ… | -| **trixie-dev** | 28.10.2026 16:09 | rename to rm.template βœ… | -| **trixie-dev** | 28.10.2026 15:48 | rm environment βœ… | -| **trixie-dev** | 28.10.2026 15:38 | βœ… | -| **trixie-dev** | 28.10.2026 15:34 | add README.template βœ… | -| **trixie-dev** | 28.10.2026 15:30 | add docker-compose.template βœ… | -| **trixie-samba-ad-dc-de-dev** | 28.10.2026 14:14 | βœ… | \ No newline at end of file +__HISTORY_CONTENT__ \ No newline at end of file diff --git a/VERSION.history b/VERSION.history index ab9325e..eb95143 100644 --- a/VERSION.history +++ b/VERSION.history @@ -1,3 +1,4 @@ +| **trixie-dev** | 28.10.2026 17:53 | βœ… | | **trixie-dev** | 28.10.2026 17:44 | βœ… | | **trixie-dev** | 28.10.2026 16:45 | βœ… | | **trixie-dev** | 28.10.2026 16:24 | βœ… | -- 2.54.0 From 0a9636ebe153e6f0096a19a56bad100ee9eae776 Mon Sep 17 00:00:00 2001 From: "info@pi-farm.de" <6+pi-farm@noreply.git.pi-farm.de> Date: Wed, 28 Oct 2026 16:57:27 +0000 Subject: [PATCH 29/47] fix README.md generation --- .gitea/workflows/build-and-push.yaml | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/build-and-push.yaml b/.gitea/workflows/build-and-push.yaml index 5ca3bb7..5e6cb01 100644 --- a/.gitea/workflows/build-and-push.yaml +++ b/.gitea/workflows/build-and-push.yaml @@ -365,15 +365,25 @@ jobs: with open(readme_template, "r", encoding="utf-8") as f: rm_content = f.read() - # Hole die Beschreibung aus den Umgebungsvariablen (aus buildargs.env) description = os.environ.get("DESCRIPTION", "Docker Image for samba-ad-dc") + current_date = os.environ.get("CURRENT_TIME", "07.06.2026") # oder aktuelles Datum + + # Docker Compose Inhalt einlesen + compose_content = open("docker-compose.yml", "r", encoding="utf-8").read() if os.path.exists("docker-compose.yml") else "" + docker_run_content = open("docker_run_block.txt", "r", encoding="utf-8").read() if os.path.exists("docker_run_block.txt") else "" - # Platzhalter in der README ersetzen + # Alle Platzhalter in der README ersetzen + rm_content = rm_content.replace("__REPO_NAME__", "samba-ad-dc") rm_content = rm_content.replace("__BUILD_TAG__", os.environ.get("FINAL_TAG", "trixie")) rm_content = rm_content.replace("__FULL_URL__", "git.pi-farm.de/pi-farm/samba-ad-dc") rm_content = rm_content.replace("__DESCRIPTION__", description) - rm_content = rm_content.replace("__HISTORY_TABLE__", os.environ.get("HISTORY_CONTENT", "")) - rm_content = rm_content.replace("__DOCKER_RUN_BLOCK__", open("docker_run_block.txt", "r").read() if os.path.exists("docker_run_block.txt") else "") + rm_content = rm_content.replace("__BASE_IMAGE__", os.environ.get("BASE_IMAGE", "debian:trixie-slim")) + rm_content = rm_content.replace("__ARM_STATUS__", "βœ… Active" if os.path.exists("Dockerfile.aarch64") else "❌ Not supported") + rm_content = rm_content.replace("__COMPOSE_BLOCK__", compose_content) + rm_content = rm_content.replace("__DOCKER_RUN__", docker_run_content) + rm_content = rm_content.replace("__DOCKERHUB_LINK__", os.environ.get("DOCKERHUB_LINK_CONTENT", "")) + rm_content = rm_content.replace("__CURRENT_DATE__", os.environ.get("CURRENT_TIME", "")) + rm_content = rm_content.replace("__HISTORY_CONTENT__", os.environ.get("HISTORY_CONTENT", "")) with open("README.md", "w", encoding="utf-8") as f: f.write(rm_content) -- 2.54.0 From a3797988c2ac6104633b72ce2eb07d8461885d34 Mon Sep 17 00:00:00 2001 From: Gitea Action Date: Wed, 28 Oct 2026 16:57:55 +0000 Subject: [PATCH 30/47] [skip ci] --- README.md | 61 ++++++++++++++++++++++++++++++++++++++++--------- VERSION.history | 1 + 2 files changed, 51 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index d46a5a8..e6ac8b7 100644 --- a/README.md +++ b/README.md @@ -1,22 +1,22 @@ -# __REPO_NAME__ +# samba-ad-dc Samba Active Directory Domain Controller with integrated DNS, Kerberos authentication and Chrony time synchronization. You have to edit the env file only to your personal needs and start the container. - - Build Status + + Build Status - + Gitea Repository This repository is built and pushed automatically. -__DOCKERHUB_LINK__ + ### πŸ—οΈ Platform Support | Architecture | Status | Base Image | Build Date | | :--- | :--- | :--- | :--- | -| x86_64 (amd64) | βœ… Active | __BASE_IMAGE__ | __CURRENT_DATE__ | -| aarch64 (arm64) | __ARM_STATUS__ | __BASE_IMAGE__ | __CURRENT_DATE__ | +| x86_64 (amd64) | βœ… Active | debian:trixie-slim | | +| aarch64 (arm64) | βœ… Active | debian:trixie-slim | | --- @@ -24,7 +24,35 @@ __DOCKERHUB_LINK__ ### πŸš€ 1. Create `docker-compose.yml` ```yaml -__COMPOSE_BLOCK__ +services: + samba-ad-dc: + image: git.pi-farm.de/pi-farm/samba-ad-dc:trixie + container_name: samba-ad-dc + hostname: ${SAMBA_HOSTNAME} + domainname: ${SAMBA_DOMAIN} + restart: unless-stopped + privileged: true + SAMBA_REALM: ${SAMBA_REALM} + SAMBA_DOMAIN: ${SAMBA_DOMAIN} + SAMBA_HOSTNAME: ${SAMBA_HOSTNAME} + SAMBA_FQDN: ${SAMBA_FQDN} + SAMBA_IP: ${SAMBA_IP} + SAMBA_NETWORK: ${SAMBA_NETWORK} + DNS_FORWARDER: ${DNS_FORWARDER} + SAMBA_ADMIN_PASSWORD: ${SAMBA_ADMIN_PASSWORD} + volumes: + - ./config:/etc/samba + - ./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 ``` ### πŸš€ 2. Pull & start the container ### Pull or update the image @@ -44,12 +72,23 @@ docker pull git.pi-farm.de/pi-farm/samba-ad-dc:trixie ``` ### πŸš€ 2. Run the container directly ```bash -__DOCKER_RUN__ +docker run -d \ + --name samba-ad-dc \ + --restart unless-stopped \ + -e SAMBA_REALM=YOUR-DOMAIN.LOC \ + -e SAMBA_DOMAIN=YOURDOMAIN \ + -e SAMBA_HOSTNAME=DC01 \ + -e SAMBA_FQDN=dc01.your-domain.loc \ + -e SAMBA_IP=192.168.178.10 \ + -e SAMBA_NETWORK=192.168.178.0/24 \ + -e DNS_FORWARDER=192.168.178.1 \ + -e SAMBA_ADMIN_PASSWORD=CHANGE-THIS-TO-A-STRONG-SECRET \ + git.pi-farm.de/pi-farm/samba-ad-dc:trixie-dev + ``` -*Last updated on: __CURRENT_DATE__* +*Last updated on: * ### πŸ“œ Version History | Version | Date | Status | | :--- | :--- | :--- | -__HISTORY_CONTENT__ \ No newline at end of file diff --git a/VERSION.history b/VERSION.history index eb95143..489760c 100644 --- a/VERSION.history +++ b/VERSION.history @@ -1,3 +1,4 @@ +| **trixie-dev** | 28.10.2026 17:57 | βœ… | | **trixie-dev** | 28.10.2026 17:53 | βœ… | | **trixie-dev** | 28.10.2026 17:44 | βœ… | | **trixie-dev** | 28.10.2026 16:45 | βœ… | -- 2.54.0 From d3162cbb9bdbb71124e0a7c6653be3d7e13c38c5 Mon Sep 17 00:00:00 2001 From: "info@pi-farm.de" <6+pi-farm@noreply.git.pi-farm.de> Date: Wed, 28 Oct 2026 17:04:46 +0000 Subject: [PATCH 31/47] fix missing vars --- .gitea/workflows/build-and-push.yaml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/build-and-push.yaml b/.gitea/workflows/build-and-push.yaml index 5e6cb01..30b9a1e 100644 --- a/.gitea/workflows/build-and-push.yaml +++ b/.gitea/workflows/build-and-push.yaml @@ -262,6 +262,10 @@ jobs: fi HISTORY_CONTENT=$(cat VERSION.history) + export CURRENT_TIME + export HISTORY_CONTENT + export BASE_IMAGE="$BASE_IMAGE" + ENV_BLOCK_CONTENT="" env_vars=$(grep '^ENV_' buildargs.env | grep -v '^#' | tr -d '\r' || true) if [ -n "$env_vars" ]; then @@ -357,7 +361,6 @@ jobs: with open("docker-compose.yml", "w", encoding="utf-8") as f: f.write(content) - print("βœ… docker-compose.yml erfolgreich generiert!") # 2. README.md aus rm.template generieren readme_template = ".gitea/rm.template" if os.path.exists(".gitea/rm.template") else "rm.template" @@ -366,9 +369,10 @@ jobs: rm_content = f.read() description = os.environ.get("DESCRIPTION", "Docker Image for samba-ad-dc") - current_date = os.environ.get("CURRENT_TIME", "07.06.2026") # oder aktuelles Datum + current_date = os.environ.get("CURRENT_TIME", "") + history_content = os.environ.get("HISTORY_CONTENT", "") + base_image = os.environ.get("BASE_IMAGE", "debian:trixie-slim") - # Docker Compose Inhalt einlesen compose_content = open("docker-compose.yml", "r", encoding="utf-8").read() if os.path.exists("docker-compose.yml") else "" docker_run_content = open("docker_run_block.txt", "r", encoding="utf-8").read() if os.path.exists("docker_run_block.txt") else "" @@ -377,13 +381,14 @@ jobs: rm_content = rm_content.replace("__BUILD_TAG__", os.environ.get("FINAL_TAG", "trixie")) rm_content = rm_content.replace("__FULL_URL__", "git.pi-farm.de/pi-farm/samba-ad-dc") rm_content = rm_content.replace("__DESCRIPTION__", description) - rm_content = rm_content.replace("__BASE_IMAGE__", os.environ.get("BASE_IMAGE", "debian:trixie-slim")) + rm_content.replace("__BASE_IMAGE__", base_image) # Korrigiert: base_image Variable nutzen + rm_content = rm_content.replace("__BASE_IMAGE__", base_image) rm_content = rm_content.replace("__ARM_STATUS__", "βœ… Active" if os.path.exists("Dockerfile.aarch64") else "❌ Not supported") rm_content = rm_content.replace("__COMPOSE_BLOCK__", compose_content) rm_content = rm_content.replace("__DOCKER_RUN__", docker_run_content) rm_content = rm_content.replace("__DOCKERHUB_LINK__", os.environ.get("DOCKERHUB_LINK_CONTENT", "")) - rm_content = rm_content.replace("__CURRENT_DATE__", os.environ.get("CURRENT_TIME", "")) - rm_content = rm_content.replace("__HISTORY_CONTENT__", os.environ.get("HISTORY_CONTENT", "")) + rm_content = rm_content.replace("__CURRENT_DATE__", current_date) + rm_content = rm_content.replace("__HISTORY_CONTENT__", history_content) with open("README.md", "w", encoding="utf-8") as f: f.write(rm_content) -- 2.54.0 From d69d86f95caee5591579695bf630e54ef5249e60 Mon Sep 17 00:00:00 2001 From: Gitea Action Date: Wed, 28 Oct 2026 17:05:18 +0000 Subject: [PATCH 32/47] [skip ci] --- README.md | 19 ++++++++++++++++--- VERSION.history | 1 + 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e6ac8b7..bc1d761 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 | | -| aarch64 (arm64) | βœ… Active | debian:trixie-slim | | +| x86_64 (amd64) | βœ… Active | debian:trixie-slim | 28.10.2026 18:05 | +| aarch64 (arm64) | βœ… Active | debian:trixie-slim | 28.10.2026 18:05 | --- @@ -87,8 +87,21 @@ docker run -d \ ``` -*Last updated on: * +*Last updated on: 28.10.2026 18:05* ### πŸ“œ Version History | Version | Date | Status | | :--- | :--- | :--- | +| **trixie-dev** | 28.10.2026 18:05 | βœ… | +| **trixie-dev** | 28.10.2026 17:57 | βœ… | +| **trixie-dev** | 28.10.2026 17:53 | βœ… | +| **trixie-dev** | 28.10.2026 17:44 | βœ… | +| **trixie-dev** | 28.10.2026 16:45 | βœ… | +| **trixie-dev** | 28.10.2026 16:24 | βœ… | +| **trixie-dev** | 28.10.2026 16:14 | βœ… | +| **trixie-dev** | 28.10.2026 16:09 | rename to rm.template βœ… | +| **trixie-dev** | 28.10.2026 15:48 | rm environment βœ… | +| **trixie-dev** | 28.10.2026 15:38 | βœ… | +| **trixie-dev** | 28.10.2026 15:34 | add README.template βœ… | +| **trixie-dev** | 28.10.2026 15:30 | add docker-compose.template βœ… | +| **trixie-samba-ad-dc-de-dev** | 28.10.2026 14:14 | βœ… | \ No newline at end of file diff --git a/VERSION.history b/VERSION.history index 489760c..1ac4889 100644 --- a/VERSION.history +++ b/VERSION.history @@ -1,3 +1,4 @@ +| **trixie-dev** | 28.10.2026 18:05 | βœ… | | **trixie-dev** | 28.10.2026 17:57 | βœ… | | **trixie-dev** | 28.10.2026 17:53 | βœ… | | **trixie-dev** | 28.10.2026 17:44 | βœ… | -- 2.54.0 From 295520b984f40f912fffbdd07ae32d07b8f2e0e8 Mon Sep 17 00:00:00 2001 From: "info@pi-farm.de" <6+pi-farm@noreply.git.pi-farm.de> Date: Wed, 28 Oct 2026 19:02:48 +0000 Subject: [PATCH 33/47] clean VERSION.history --- VERSION.history | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/VERSION.history b/VERSION.history index 1ac4889..e69de29 100644 --- a/VERSION.history +++ b/VERSION.history @@ -1,13 +0,0 @@ -| **trixie-dev** | 28.10.2026 18:05 | βœ… | -| **trixie-dev** | 28.10.2026 17:57 | βœ… | -| **trixie-dev** | 28.10.2026 17:53 | βœ… | -| **trixie-dev** | 28.10.2026 17:44 | βœ… | -| **trixie-dev** | 28.10.2026 16:45 | βœ… | -| **trixie-dev** | 28.10.2026 16:24 | βœ… | -| **trixie-dev** | 28.10.2026 16:14 | βœ… | -| **trixie-dev** | 28.10.2026 16:09 | rename to rm.template βœ… | -| **trixie-dev** | 28.10.2026 15:48 | rm environment βœ… | -| **trixie-dev** | 28.10.2026 15:38 | βœ… | -| **trixie-dev** | 28.10.2026 15:34 | add README.template βœ… | -| **trixie-dev** | 28.10.2026 15:30 | add docker-compose.template βœ… | -| **trixie-samba-ad-dc-de-dev** | 28.10.2026 14:14 | βœ… | -- 2.54.0 From 49c88486a479f27eb9ae07690e88038a240fcced Mon Sep 17 00:00:00 2001 From: "info@pi-farm.de" <6+pi-farm@noreply.git.pi-farm.de> Date: Wed, 28 Oct 2026 19:05:10 +0000 Subject: [PATCH 34/47] format description --- buildargs.env | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/buildargs.env b/buildargs.env index 9c81bb6..262336e 100644 --- a/buildargs.env +++ b/buildargs.env @@ -22,4 +22,5 @@ ENV_DNS_FORWARDER=192.168.178.1 ENV_SAMBA_ADMIN_PASSWORD=CHANGE-THIS-TO-A-STRONG-SECRET ## DOCKER / COMPOSE CONFIG -DESCRIPTION="Samba Active Directory Domain Controller with integrated DNS, Kerberos authentication and Chrony time synchronization. You have to edit the env file only to your personal needs and start the container." \ No newline at end of file +DESCRIPTION="Samba Active Directory Domain Controller with integrated DNS, Kerberos authentication and Chrony time synchronization. \ +You have to edit the .env file only to your personal needs and start the container." \ No newline at end of file -- 2.54.0 From e4092134752cbda6d7ad2e01fee645e668aaf174 Mon Sep 17 00:00:00 2001 From: "info@pi-farm.de" <6+pi-farm@noreply.git.pi-farm.de> Date: Wed, 28 Oct 2026 19:06:34 +0000 Subject: [PATCH 35/47] fix description --- buildargs.env | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/buildargs.env b/buildargs.env index 262336e..747e18d 100644 --- a/buildargs.env +++ b/buildargs.env @@ -22,5 +22,4 @@ ENV_DNS_FORWARDER=192.168.178.1 ENV_SAMBA_ADMIN_PASSWORD=CHANGE-THIS-TO-A-STRONG-SECRET ## DOCKER / COMPOSE CONFIG -DESCRIPTION="Samba Active Directory Domain Controller with integrated DNS, Kerberos authentication and Chrony time synchronization. \ -You have to edit the .env file only to your personal needs and start the container." \ No newline at end of file +DESCRIPTION="Samba Active Directory Domain Controller with integrated DNS, Kerberos authentication and Chrony time synchronization. You have to edit the .env file only to your personal needs and start the container." \ No newline at end of file -- 2.54.0 From 936e7fa49d4d4a53dc99e2248b30b171ca5734ae Mon Sep 17 00:00:00 2001 From: Gitea Action Date: Wed, 28 Oct 2026 19:07:07 +0000 Subject: [PATCH 36/47] [skip ci] --- README.md | 22 +++++----------------- VERSION.history | 1 + 2 files changed, 6 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index bc1d761..8c7ab4b 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # samba-ad-dc -Samba Active Directory Domain Controller with integrated DNS, Kerberos authentication and Chrony time synchronization. You have to edit the env file only to your personal needs and start the container. +Samba Active Directory Domain Controller with integrated DNS, Kerberos authentication and Chrony time synchronization. You have to edit the .env file only to your personal needs and start the container. Build Status @@ -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 | 28.10.2026 18:05 | -| aarch64 (arm64) | βœ… Active | debian:trixie-slim | 28.10.2026 18:05 | +| x86_64 (amd64) | βœ… Active | debian:trixie-slim | 28.10.2026 20:07 | +| aarch64 (arm64) | βœ… Active | debian:trixie-slim | 28.10.2026 20:07 | --- @@ -87,21 +87,9 @@ docker run -d \ ``` -*Last updated on: 28.10.2026 18:05* +*Last updated on: 28.10.2026 20:07* ### πŸ“œ Version History | Version | Date | Status | | :--- | :--- | :--- | -| **trixie-dev** | 28.10.2026 18:05 | βœ… | -| **trixie-dev** | 28.10.2026 17:57 | βœ… | -| **trixie-dev** | 28.10.2026 17:53 | βœ… | -| **trixie-dev** | 28.10.2026 17:44 | βœ… | -| **trixie-dev** | 28.10.2026 16:45 | βœ… | -| **trixie-dev** | 28.10.2026 16:24 | βœ… | -| **trixie-dev** | 28.10.2026 16:14 | βœ… | -| **trixie-dev** | 28.10.2026 16:09 | rename to rm.template βœ… | -| **trixie-dev** | 28.10.2026 15:48 | rm environment βœ… | -| **trixie-dev** | 28.10.2026 15:38 | βœ… | -| **trixie-dev** | 28.10.2026 15:34 | add README.template βœ… | -| **trixie-dev** | 28.10.2026 15:30 | add docker-compose.template βœ… | -| **trixie-samba-ad-dc-de-dev** | 28.10.2026 14:14 | βœ… | \ No newline at end of file +| **trixie-dev** | 28.10.2026 20:07 | βœ… | \ No newline at end of file diff --git a/VERSION.history b/VERSION.history index e69de29..657d9c8 100644 --- a/VERSION.history +++ b/VERSION.history @@ -0,0 +1 @@ +| **trixie-dev** | 28.10.2026 20:07 | βœ… | -- 2.54.0 From 65baeef232fe36a11ecaf2e59d3a8f08cb2c3564 Mon Sep 17 00:00:00 2001 From: "info@pi-farm.de" <6+pi-farm@noreply.git.pi-farm.de> Date: Wed, 28 Oct 2026 19:14:44 +0000 Subject: [PATCH 37/47] fix build-and-push status --- .gitea/rm.template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/rm.template b/.gitea/rm.template index 717a0bb..d0f31f5 100644 --- a/.gitea/rm.template +++ b/.gitea/rm.template @@ -1,8 +1,8 @@ # __REPO_NAME__ __DESCRIPTION__ - - Build Status + + Build Status Gitea Repository -- 2.54.0 From 5f0e7fd5079119704e55bf3182d807fd21423ca5 Mon Sep 17 00:00:00 2001 From: Gitea Action Date: Wed, 28 Oct 2026 19:15:02 +0000 Subject: [PATCH 38/47] fix build-and-push status [skip ci] --- README.md | 9 +++++---- VERSION.history | 1 + 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 8c7ab4b..f71ed73 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ Samba Active Directory Domain Controller with integrated DNS, Kerberos authentication and Chrony time synchronization. You have to edit the .env file only to your personal needs and start the container. - Build Status + Build Status Gitea Repository @@ -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 | 28.10.2026 20:07 | -| aarch64 (arm64) | βœ… Active | debian:trixie-slim | 28.10.2026 20:07 | +| x86_64 (amd64) | βœ… Active | debian:trixie-slim | 28.10.2026 20:15 | +| aarch64 (arm64) | βœ… Active | debian:trixie-slim | 28.10.2026 20:15 | --- @@ -87,9 +87,10 @@ docker run -d \ ``` -*Last updated on: 28.10.2026 20:07* +*Last updated on: 28.10.2026 20:15* ### πŸ“œ Version History | Version | Date | Status | | :--- | :--- | :--- | +| **trixie-dev** | 28.10.2026 20:15 | fix build-and-push status βœ… | | **trixie-dev** | 28.10.2026 20:07 | βœ… | \ No newline at end of file diff --git a/VERSION.history b/VERSION.history index 657d9c8..cab5296 100644 --- a/VERSION.history +++ b/VERSION.history @@ -1 +1,2 @@ +| **trixie-dev** | 28.10.2026 20:15 | fix build-and-push status βœ… | | **trixie-dev** | 28.10.2026 20:07 | βœ… | -- 2.54.0 From 6b7ee3113a3f5814fdfc3d4041748f3bc285adee Mon Sep 17 00:00:00 2001 From: "info@pi-farm.de" <6+pi-farm@noreply.git.pi-farm.de> Date: Wed, 28 Oct 2026 19:15:50 +0000 Subject: [PATCH 39/47] fix missing environment --- .gitea/docker-compose.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/docker-compose.template b/.gitea/docker-compose.template index 7cab98d..ff6dd6d 100644 --- a/.gitea/docker-compose.template +++ b/.gitea/docker-compose.template @@ -5,7 +5,7 @@ services: hostname: ${SAMBA_HOSTNAME} domainname: ${SAMBA_DOMAIN} restart: unless-stopped - privileged: true + environment: __ENV_BLOCK__ volumes: - ./config:/etc/samba -- 2.54.0 From 6e3f68652e37f4a63a3b0eb354404d48c5783cf0 Mon Sep 17 00:00:00 2001 From: Gitea Action Date: Wed, 28 Oct 2026 19:16:09 +0000 Subject: [PATCH 40/47] fix missing environment [skip ci] --- README.md | 9 +++++---- VERSION.history | 1 + docker-compose.yml | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index f71ed73..a74ad6c 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 | 28.10.2026 20:15 | -| aarch64 (arm64) | βœ… Active | debian:trixie-slim | 28.10.2026 20:15 | +| x86_64 (amd64) | βœ… Active | debian:trixie-slim | 28.10.2026 20:16 | +| aarch64 (arm64) | βœ… Active | debian:trixie-slim | 28.10.2026 20:16 | --- @@ -31,7 +31,7 @@ services: hostname: ${SAMBA_HOSTNAME} domainname: ${SAMBA_DOMAIN} restart: unless-stopped - privileged: true + environment: SAMBA_REALM: ${SAMBA_REALM} SAMBA_DOMAIN: ${SAMBA_DOMAIN} SAMBA_HOSTNAME: ${SAMBA_HOSTNAME} @@ -87,10 +87,11 @@ docker run -d \ ``` -*Last updated on: 28.10.2026 20:15* +*Last updated on: 28.10.2026 20:16* ### πŸ“œ Version History | Version | Date | Status | | :--- | :--- | :--- | +| **trixie-dev** | 28.10.2026 20:16 | fix missing environment βœ… | | **trixie-dev** | 28.10.2026 20:15 | fix build-and-push status βœ… | | **trixie-dev** | 28.10.2026 20:07 | βœ… | \ No newline at end of file diff --git a/VERSION.history b/VERSION.history index cab5296..42092b3 100644 --- a/VERSION.history +++ b/VERSION.history @@ -1,2 +1,3 @@ +| **trixie-dev** | 28.10.2026 20:16 | fix missing environment βœ… | | **trixie-dev** | 28.10.2026 20:15 | fix build-and-push status βœ… | | **trixie-dev** | 28.10.2026 20:07 | βœ… | diff --git a/docker-compose.yml b/docker-compose.yml index 4cda120..6f58254 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,7 +5,7 @@ services: hostname: ${SAMBA_HOSTNAME} domainname: ${SAMBA_DOMAIN} restart: unless-stopped - privileged: true + environment: SAMBA_REALM: ${SAMBA_REALM} SAMBA_DOMAIN: ${SAMBA_DOMAIN} SAMBA_HOSTNAME: ${SAMBA_HOSTNAME} -- 2.54.0 From 390b5b8ef7ec533086980926a44434ffd97f1b01 Mon Sep 17 00:00:00 2001 From: "info@pi-farm.de" <6+pi-farm@noreply.git.pi-farm.de> Date: Wed, 28 Oct 2026 19:22:17 +0000 Subject: [PATCH 41/47] fix environment generation for docker-compose.yml --- .gitea/workflows/build-and-push.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/build-and-push.yaml b/.gitea/workflows/build-and-push.yaml index 30b9a1e..48588a5 100644 --- a/.gitea/workflows/build-and-push.yaml +++ b/.gitea/workflows/build-and-push.yaml @@ -344,7 +344,7 @@ jobs: env_block_lines = [] for key in env_keys: - line = " " + key + ": ${" + key + "}" + line = " " + key + ": ${" + key + "}" env_block_lines.append(line) env_block_str = "\n".join(env_block_lines) -- 2.54.0 From 484f39a293e628b20086c748275fa69911877700 Mon Sep 17 00:00:00 2001 From: Gitea Action Date: Wed, 28 Oct 2026 19:22:52 +0000 Subject: [PATCH 42/47] [skip ci] --- README.md | 23 ++++++++++++----------- VERSION.history | 1 + docker-compose.yml | 16 ++++++++-------- 3 files changed, 21 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index a74ad6c..e3a0eb1 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 | 28.10.2026 20:16 | -| aarch64 (arm64) | βœ… Active | debian:trixie-slim | 28.10.2026 20:16 | +| x86_64 (amd64) | βœ… Active | debian:trixie-slim | 28.10.2026 20:22 | +| aarch64 (arm64) | βœ… Active | debian:trixie-slim | 28.10.2026 20:22 | --- @@ -32,14 +32,14 @@ services: domainname: ${SAMBA_DOMAIN} restart: unless-stopped environment: - SAMBA_REALM: ${SAMBA_REALM} - SAMBA_DOMAIN: ${SAMBA_DOMAIN} - SAMBA_HOSTNAME: ${SAMBA_HOSTNAME} - SAMBA_FQDN: ${SAMBA_FQDN} - SAMBA_IP: ${SAMBA_IP} - SAMBA_NETWORK: ${SAMBA_NETWORK} - DNS_FORWARDER: ${DNS_FORWARDER} - SAMBA_ADMIN_PASSWORD: ${SAMBA_ADMIN_PASSWORD} + SAMBA_REALM: ${SAMBA_REALM} + SAMBA_DOMAIN: ${SAMBA_DOMAIN} + SAMBA_HOSTNAME: ${SAMBA_HOSTNAME} + SAMBA_FQDN: ${SAMBA_FQDN} + SAMBA_IP: ${SAMBA_IP} + SAMBA_NETWORK: ${SAMBA_NETWORK} + DNS_FORWARDER: ${DNS_FORWARDER} + SAMBA_ADMIN_PASSWORD: ${SAMBA_ADMIN_PASSWORD} volumes: - ./config:/etc/samba - ./private:/var/lib/samba @@ -87,11 +87,12 @@ docker run -d \ ``` -*Last updated on: 28.10.2026 20:16* +*Last updated on: 28.10.2026 20:22* ### πŸ“œ Version History | Version | Date | Status | | :--- | :--- | :--- | +| **trixie-dev** | 28.10.2026 20:22 | βœ… | | **trixie-dev** | 28.10.2026 20:16 | fix missing environment βœ… | | **trixie-dev** | 28.10.2026 20:15 | fix build-and-push status βœ… | | **trixie-dev** | 28.10.2026 20:07 | βœ… | \ No newline at end of file diff --git a/VERSION.history b/VERSION.history index 42092b3..a99666e 100644 --- a/VERSION.history +++ b/VERSION.history @@ -1,3 +1,4 @@ +| **trixie-dev** | 28.10.2026 20:22 | βœ… | | **trixie-dev** | 28.10.2026 20:16 | fix missing environment βœ… | | **trixie-dev** | 28.10.2026 20:15 | fix build-and-push status βœ… | | **trixie-dev** | 28.10.2026 20:07 | βœ… | diff --git a/docker-compose.yml b/docker-compose.yml index 6f58254..b50e5a9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,14 +6,14 @@ services: domainname: ${SAMBA_DOMAIN} restart: unless-stopped environment: - SAMBA_REALM: ${SAMBA_REALM} - SAMBA_DOMAIN: ${SAMBA_DOMAIN} - SAMBA_HOSTNAME: ${SAMBA_HOSTNAME} - SAMBA_FQDN: ${SAMBA_FQDN} - SAMBA_IP: ${SAMBA_IP} - SAMBA_NETWORK: ${SAMBA_NETWORK} - DNS_FORWARDER: ${DNS_FORWARDER} - SAMBA_ADMIN_PASSWORD: ${SAMBA_ADMIN_PASSWORD} + SAMBA_REALM: ${SAMBA_REALM} + SAMBA_DOMAIN: ${SAMBA_DOMAIN} + SAMBA_HOSTNAME: ${SAMBA_HOSTNAME} + SAMBA_FQDN: ${SAMBA_FQDN} + SAMBA_IP: ${SAMBA_IP} + SAMBA_NETWORK: ${SAMBA_NETWORK} + DNS_FORWARDER: ${DNS_FORWARDER} + SAMBA_ADMIN_PASSWORD: ${SAMBA_ADMIN_PASSWORD} volumes: - ./config:/etc/samba - ./private:/var/lib/samba -- 2.54.0 From 7d9c2ff9223ef8fae22166f6eed3e6af82d5e610 Mon Sep 17 00:00:00 2001 From: "info@pi-farm.de" <6+pi-farm@noreply.git.pi-farm.de> Date: Wed, 28 Oct 2026 19:37:31 +0000 Subject: [PATCH 43/47] fix spaces --- .gitea/docker-compose.template | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitea/docker-compose.template b/.gitea/docker-compose.template index ff6dd6d..75796bb 100644 --- a/.gitea/docker-compose.template +++ b/.gitea/docker-compose.template @@ -19,4 +19,5 @@ __ENV_BLOCK__ networks: samba-ad-lan: - external: true \ No newline at end of file + external: true + \ No newline at end of file -- 2.54.0 From 89f4e73fe6b7cf802ca015348ad673488b0f2201 Mon Sep 17 00:00:00 2001 From: Gitea Action Date: Wed, 28 Oct 2026 19:37:52 +0000 Subject: [PATCH 44/47] fix spaces [skip ci] --- README.md | 8 +++++--- VERSION.history | 1 + docker-compose.yml | 3 ++- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index e3a0eb1..c6b523b 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 | 28.10.2026 20:22 | -| aarch64 (arm64) | βœ… Active | debian:trixie-slim | 28.10.2026 20:22 | +| x86_64 (amd64) | βœ… Active | debian:trixie-slim | 28.10.2026 20:37 | +| aarch64 (arm64) | βœ… Active | debian:trixie-slim | 28.10.2026 20:37 | --- @@ -53,6 +53,7 @@ services: networks: samba-ad-lan: external: true + ``` ### πŸš€ 2. Pull & start the container ### Pull or update the image @@ -87,11 +88,12 @@ docker run -d \ ``` -*Last updated on: 28.10.2026 20:22* +*Last updated on: 28.10.2026 20:37* ### πŸ“œ Version History | Version | Date | Status | | :--- | :--- | :--- | +| **trixie-dev** | 28.10.2026 20:37 | fix spaces βœ… | | **trixie-dev** | 28.10.2026 20:22 | βœ… | | **trixie-dev** | 28.10.2026 20:16 | fix missing environment βœ… | | **trixie-dev** | 28.10.2026 20:15 | fix build-and-push status βœ… | diff --git a/VERSION.history b/VERSION.history index a99666e..bf0990b 100644 --- a/VERSION.history +++ b/VERSION.history @@ -1,3 +1,4 @@ +| **trixie-dev** | 28.10.2026 20:37 | fix spaces βœ… | | **trixie-dev** | 28.10.2026 20:22 | βœ… | | **trixie-dev** | 28.10.2026 20:16 | fix missing environment βœ… | | **trixie-dev** | 28.10.2026 20:15 | fix build-and-push status βœ… | diff --git a/docker-compose.yml b/docker-compose.yml index b50e5a9..3724630 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -26,4 +26,5 @@ services: networks: samba-ad-lan: - external: true \ No newline at end of file + external: true + \ No newline at end of file -- 2.54.0 From 40caf114b99c3ca4056c6567aad18f0711502019 Mon Sep 17 00:00:00 2001 From: "info@pi-farm.de" <6+pi-farm@noreply.git.pi-farm.de> Date: Wed, 28 Oct 2026 20:39:40 +0000 Subject: [PATCH 45/47] fix spaces --- .gitea/workflows/build-and-push.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/build-and-push.yaml b/.gitea/workflows/build-and-push.yaml index 48588a5..2742ba6 100644 --- a/.gitea/workflows/build-and-push.yaml +++ b/.gitea/workflows/build-and-push.yaml @@ -344,7 +344,7 @@ jobs: env_block_lines = [] for key in env_keys: - line = " " + key + ": ${" + key + "}" + line = (" " * 6) + key + ": ${" + key + "}" env_block_lines.append(line) env_block_str = "\n".join(env_block_lines) -- 2.54.0 From 655c79e3f34017720cdeec8fce576b3a1999f65c Mon Sep 17 00:00:00 2001 From: Gitea Action Date: Wed, 28 Oct 2026 20:45:57 +0000 Subject: [PATCH 46/47] [skip ci] --- README.md | 7 ++++--- VERSION.history | 1 + 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c6b523b..24519b4 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 | 28.10.2026 20:37 | -| aarch64 (arm64) | βœ… Active | debian:trixie-slim | 28.10.2026 20:37 | +| x86_64 (amd64) | βœ… Active | debian:trixie-slim | 28.10.2026 21:45 | +| aarch64 (arm64) | βœ… Active | debian:trixie-slim | 28.10.2026 21:45 | --- @@ -88,11 +88,12 @@ docker run -d \ ``` -*Last updated on: 28.10.2026 20:37* +*Last updated on: 28.10.2026 21:45* ### πŸ“œ Version History | Version | Date | Status | | :--- | :--- | :--- | +| **trixie-dev** | 28.10.2026 21:45 | βœ… | | **trixie-dev** | 28.10.2026 20:37 | fix spaces βœ… | | **trixie-dev** | 28.10.2026 20:22 | βœ… | | **trixie-dev** | 28.10.2026 20:16 | fix missing environment βœ… | diff --git a/VERSION.history b/VERSION.history index bf0990b..91c50ac 100644 --- a/VERSION.history +++ b/VERSION.history @@ -1,3 +1,4 @@ +| **trixie-dev** | 28.10.2026 21:45 | βœ… | | **trixie-dev** | 28.10.2026 20:37 | fix spaces βœ… | | **trixie-dev** | 28.10.2026 20:22 | βœ… | | **trixie-dev** | 28.10.2026 20:16 | fix missing environment βœ… | -- 2.54.0 From 853735039f795e310baff5d76ea70249c41ecba1 Mon Sep 17 00:00:00 2001 From: "info@pi-farm.de" <6+pi-farm@noreply.git.pi-farm.de> Date: Wed, 28 Oct 2026 20:52:22 +0000 Subject: [PATCH 47/47] clean VERSION.history --- VERSION.history | 6 ------ 1 file changed, 6 deletions(-) diff --git a/VERSION.history b/VERSION.history index 91c50ac..e69de29 100644 --- a/VERSION.history +++ b/VERSION.history @@ -1,6 +0,0 @@ -| **trixie-dev** | 28.10.2026 21:45 | βœ… | -| **trixie-dev** | 28.10.2026 20:37 | fix spaces βœ… | -| **trixie-dev** | 28.10.2026 20:22 | βœ… | -| **trixie-dev** | 28.10.2026 20:16 | fix missing environment βœ… | -| **trixie-dev** | 28.10.2026 20:15 | fix build-and-push status βœ… | -| **trixie-dev** | 28.10.2026 20:07 | βœ… | -- 2.54.0