[skip ci]
This commit is contained in:
1 parent
0a9636ebe1
commit
a3797988c2
2 files changed
+51
-11
No files matched your search
@@ -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.
|
||||
|
||||
<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 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>
|
||||
<a href="https://git.pi-farm.de/pi-farm/__REPO_NAME__" target="_blank" rel="noopener noreferrer">
|
||||
<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">
|
||||
</a>
|
||||
|
||||
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__
|
||||
Reference in new issue
Block a user