25 Commits
Author SHA1 Message Date
Gitea Action 5ec238b41c add .env description in README.md [skip ci] 2026-10-29 09:25:27 +00:00
pi-farm 5ba8d0d3dc add .env description in README.md
build-and-push.yaml / release-and-build (push) Successful in 38s
2026-10-29 09:24:54 +00:00
Gitea Action d8a13d91e9 add .env [skip ci] 2026-10-29 09:23:11 +00:00
pi-farm 8069630437 add .env
build-and-push.yaml / release-and-build (push) Successful in 39s
2026-10-29 09:22:37 +00:00
Gitea Action f30db589ce chmod 750 for ntp [skip ci] 2026-10-29 09:01:25 +00:00
pi-farm 84834321e9 chmod 750 for ntp
build-and-push.yaml / release-and-build (push) Successful in 48s
2026-10-29 09:00:44 +00:00
Gitea Action 92060dc338 [skip ci] 2026-10-29 08:54:57 +00:00
pi-farm f6a0ef9eea fix chmod 750 2026-10-29 08:54:09 +00:00
pi-farm ec1d503d7d fix chmod 750 2026-10-29 08:53:45 +00:00
Gitea Action dc35a5d205 add networkmode host [skip ci] 2026-10-29 08:52:43 +00:00
pi-farm f069ad32e8 add networkmode host
build-and-push.yaml / release-and-build (push) Successful in 1m18s
2026-10-29 08:51:30 +00:00
Gitea Action 60cd2e685d [skip ci] 2026-10-28 23:37:35 +00:00
pi-farm 884ec41f56 tag latest 2026-10-28 23:36:46 +00:00
Gitea Action 7dfcfdeb75 [skip ci] 2026-10-28 23:26:50 +00:00
pi-farm 698a95e87f 1.0.0 2026-10-28 23:25:41 +00:00
pi-farm 1dccf07d8c fix dockerhub login 2026-10-28 23:14:52 +00:00
pi-farm 436ab972e6 1.0.0 2026-10-28 21:11:49 +00:00
pi-farm 48523736a3 1.0.0 2026-10-28 21:11:14 +00:00
Gitea Action 6581c9b101 fix Badge for Build-Status [skip ci] 2026-10-28 21:01:20 +00:00
pi-farm 85686c8533 fix Badge for Build-Status
build-and-push.yaml / release-and-build (push) Successful in 21s
2026-10-28 21:01:00 +00:00
Gitea Action 59c51c9364 prepare for main [skip ci] 2026-10-28 20:57:46 +00:00
pi-farm 838a573147 prepare for main
build-and-push.yaml / release-and-build (push) Successful in 22s
2026-10-28 20:57:26 +00:00
pi-farm 9be005ece4 prepare for main 2026-10-28 20:55:55 +00:00
pi-farm 3bcd56b453 Merge pull request '1. try' (#1) from dev into main
Reviewed-on: #1
2026-10-28 20:53:38 +00:00
pi-farm 853735039f clean VERSION.history 2026-10-28 20:52:22 +00:00
10 changed files with 60 additions and 48 deletions

No files matched your search

+2 -8
View File
@@ -5,6 +5,8 @@ services:
hostname: ${SAMBA_HOSTNAME}
domainname: ${SAMBA_DOMAIN}
restart: unless-stopped
privileged: true
network_mode: host
environment:
__ENV_BLOCK__
volumes:
@@ -12,12 +14,4 @@ __ENV_BLOCK__
- ./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
+13 -2
View File
@@ -1,8 +1,8 @@
# __REPO_NAME__
__DESCRIPTION__
<a href="https://git.pi-farm.de/pi-farm/samba-ad-dc/actions" target="_blank" rel="noopener noreferrer">
<img src="https://git.pi-farm.de/pi-farm/samba-ad-dc/actions/workflows/build-and-push.yaml/badge.svg?branch=dev" alt="Build Status">
<a href="https://git.pi-farm.de/pi-farm/__REPO_NAME__/actions" target="_blank" rel="noopener noreferrer">
<img src="https://git.pi-farm.de/pi-farm/__REPO_NAME__/actions/workflows/build-and-push.yaml/badge.svg" alt="Build Status">
</a>
<a href="https://git.pi-farm.de/pi-farm/__REPO_NAME__" target="_blank" rel="noopener noreferrer">
<img src="https://img.shields.io/badge/gitea-pi--farm-609930?logo=gitea&logoColor=white" alt="Gitea Repository">
@@ -26,6 +26,17 @@ __DOCKERHUB_LINK__
```yaml
__COMPOSE_BLOCK__
```
and `.env`
```yaml
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=SuperSecretPassword!1234!
```
### 🚀 2. Pull & start the container
### Pull or update the image
```bash
+1 -1
View File
@@ -1,7 +1,7 @@
on:
push:
branches:
- 'dev'
- 'main'
paths-ignore:
- 'README.md'
- 'Dockerfile*'
+1 -1
View File
@@ -45,7 +45,7 @@ RUN mkdir -p \
COPY chrony.conf /etc/chrony/chrony.conf
COPY scripts/entrypoint.sh /entrypoint.sh
RUN chmod 755 /entrypoint.sh
RUN chmod 750 /entrypoint.sh
EXPOSE 53/tcp
EXPOSE 53/udp
+1 -1
View File
@@ -33,7 +33,7 @@ RUN mkdir -p \
COPY chrony.conf /etc/chrony/chrony.conf
COPY scripts/entrypoint.sh /entrypoint.sh
RUN chmod 755 /entrypoint.sh
RUN chmod 750 /entrypoint.sh
EXPOSE 53/tcp
EXPOSE 53/udp
+25 -19
View File
@@ -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.
<a href="https://git.pi-farm.de/pi-farm/samba-ad-dc/actions" target="_blank" rel="noopener noreferrer">
<img src="https://git.pi-farm.de/pi-farm/samba-ad-dc/actions/workflows/build-and-push.yaml/badge.svg?branch=dev" alt="Build Status">
<img src="https://git.pi-farm.de/pi-farm/samba-ad-dc/actions/workflows/build-and-push.yaml/badge.svg" alt="Build Status">
</a>
<a href="https://git.pi-farm.de/pi-farm/samba-ad-dc" target="_blank" rel="noopener noreferrer">
<img src="https://img.shields.io/badge/gitea-pi--farm-609930?logo=gitea&logoColor=white" alt="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 21:45 |
| aarch64 (arm64) | ✅ Active | debian:trixie-slim | 28.10.2026 21:45 |
| x86_64 (amd64) | ✅ Active | debian:trixie-slim | 29.10.2026 10:25 |
| aarch64 (arm64) | ✅ Active | debian:trixie-slim | 29.10.2026 10:25 |
---
@@ -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,18 @@ 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
```
and `.env`
```yaml
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=SuperSecretPassword!1234!
```
### 🚀 2. Pull & start the container
### Pull or update the image
@@ -84,18 +89,19 @@ 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-dev
git.pi-farm.de/pi-farm/samba-ad-dc:trixie
```
*Last updated on: 28.10.2026 21:45*
*Last updated on: 29.10.2026 10:25*
### 📜 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 ✅ |
| **trixie-dev** | 28.10.2026 20:15 | fix build-and-push status ✅ |
| **trixie-dev** | 28.10.2026 20:07 | ✅ |
| **trixie** | 29.10.2026 10:25 | add .env description in README.md ✅ |
| **trixie** | 29.10.2026 10:23 | add .env ✅ |
| **trixie** | 29.10.2026 10:01 | chmod 750 for ntp ✅ |
| **trixie** | 29.10.2026 09:54 | ✅ |
| **trixie** | 29.10.2026 09:52 | add networkmode host ✅ |
| **trixie** | 29.10.2026 00:37 | ✅ |
| **trixie** | 29.10.2026 00:26 | ✅ |
+7 -6
View File
@@ -1,6 +1,7 @@
| **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 | ✅ |
| **trixie** | 29.10.2026 10:25 | add .env description in README.md ✅ |
| **trixie** | 29.10.2026 10:23 | add .env ✅ |
| **trixie** | 29.10.2026 10:01 | chmod 750 for ntp ✅ |
| **trixie** | 29.10.2026 09:54 | ✅ |
| **trixie** | 29.10.2026 09:52 | add networkmode host ✅ |
| **trixie** | 29.10.2026 00:37 | ✅ |
| **trixie** | 29.10.2026 00:26 | ✅ |
+2 -2
View File
@@ -5,11 +5,11 @@ BUILD_COUNTRY=de
## BUILD STAGE
BUILD_BASE_IMAGE="debian:${DEBIAN_CODENAME}-slim"
BUILD_TAG="${DEBIAN_CODENAME}"
BUILD_TAG_LATEST=n
BUILD_TAG_LATEST=y
BUILD_MAINTAINER=pi-farm
BUILD_APP_NAME=samba-ad-dc
BUILD_APP_VERSION=1.0.0
PUSH=gitea
PUSH=dockerhub
## ENV STAGE – SAMBA ACTIVE DIRECTORY DOMAIN CONTROLLER
ENV_SAMBA_REALM=YOUR-DOMAIN.LOC
+2 -8
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
+6
View File
@@ -175,6 +175,12 @@ echo " Preparing NTP signing socket"
echo "=============================================="
mkdir -p /var/lib/samba/ntp_signd
if [ -d "/var/lib/samba/ntp_signd" ]; then
chmod 0750 /var/lib/samba/ntp_signd
else
mkdir -p /var/lib/samba/ntp_signd
chmod 0750 /var/lib/samba/ntp_signd
fi
# ------------------------------------------------------------
# Start Samba first