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 | ✅ |