Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d1c033ed93 | ||
|
|
5af3f050dd |
@@ -4,6 +4,12 @@ services:
|
|||||||
nextcloud:
|
nextcloud:
|
||||||
image: nextcloud:latest
|
image: nextcloud:latest
|
||||||
container_name: nextcloud
|
container_name: nextcloud
|
||||||
|
logging:
|
||||||
|
driver: "local"
|
||||||
|
options:
|
||||||
|
max-size: "10m"
|
||||||
|
max-file: "3"
|
||||||
|
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- "9000:80"
|
- "9000:80"
|
||||||
@@ -23,6 +29,12 @@ services:
|
|||||||
nextcloud-cron:
|
nextcloud-cron:
|
||||||
image: nextcloud:latest
|
image: nextcloud:latest
|
||||||
container_name: nextcloud-cron
|
container_name: nextcloud-cron
|
||||||
|
logging:
|
||||||
|
driver: "local"
|
||||||
|
options:
|
||||||
|
max-size: "10m"
|
||||||
|
max-file: "3"
|
||||||
|
|
||||||
restart: always
|
restart: always
|
||||||
entrypoint: /cron.sh
|
entrypoint: /cron.sh
|
||||||
command:
|
command:
|
||||||
@@ -43,6 +55,12 @@ services:
|
|||||||
clamav:
|
clamav:
|
||||||
image: clamav/clamav-debian
|
image: clamav/clamav-debian
|
||||||
container_name: clamav
|
container_name: clamav
|
||||||
|
logging:
|
||||||
|
driver: "local"
|
||||||
|
options:
|
||||||
|
max-size: "10m"
|
||||||
|
max-file: "3"
|
||||||
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- "3310:3310"
|
- "3310:3310"
|
||||||
|
|||||||
@@ -0,0 +1,37 @@
|
|||||||
|
services:
|
||||||
|
dns-server:
|
||||||
|
container_name: dns-server
|
||||||
|
hostname: dns-server
|
||||||
|
image: technitium/dns-server:latest
|
||||||
|
|
||||||
|
ports:
|
||||||
|
- "5380:5380/tcp" # Web console (HTTP)
|
||||||
|
- "53:53/udp" # DNS service
|
||||||
|
- "53:53/tcp" # DNS service
|
||||||
|
- "53443:53443/tcp" # Web console (HTTPS)
|
||||||
|
|
||||||
|
#optionale Ports, Kommentar entfernen, falls notwendig.
|
||||||
|
# - "853:853/udp" # DNS-over-QUIC
|
||||||
|
# - "853:853/tcp" # DNS-over-TLS
|
||||||
|
# - "443:443/udp" # DNS-over-HTTPS (HTTP/3)
|
||||||
|
# - "443:443/tcp" # DNS-over-HTTPS (HTTP/1.1, HTTP/2)
|
||||||
|
# - "67:67/udp" # DHCP service
|
||||||
|
|
||||||
|
environment:
|
||||||
|
- DNS_SERVER_DOMAIN=dns-server
|
||||||
|
- DNS_SERVER_ADMIN_PASSWORD=<admin_passwort>
|
||||||
|
- DNS_SERVER_PREFER_IPV6=false
|
||||||
|
- DNS_SERVER_RECURSION=AllowOnlyForPrivateNetworks
|
||||||
|
- DNS_SERVER_FORWARDERS=192.168.178.1
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
- /opt/technitium:/etc/dns
|
||||||
|
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
|
sysctls:
|
||||||
|
- net.ipv4.ip_local_port_range=1024 65000
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
config:
|
||||||
|
|
||||||
Reference in New Issue
Block a user