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