1. try #1
No files matched your search
@@ -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.
|
||||
|
||||
<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" 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/samba-ad-dc" target="_blank" rel="noopener noreferrer">
|
||||
<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">
|
||||
</a>
|
||||
|
||||
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 | ✅ |
|
||||
__HISTORY_CONTENT__
|
||||
@@ -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 | ✅ |
|
||||
|
||||
Reference in new issue
Block a user