Merge branch 'dev'

merge with dev
technitium
permissions script nextcloud
This commit is contained in:
poslop
2023-12-05 16:20:31 -06:00
2 changed files with 48 additions and 20 deletions

View File

@@ -11,6 +11,31 @@ networks:
services:
technitium:
container_name: technitium
image: technitium/dns-server:latest
network_mode: "host"
# ports:
# - "5380:5380/tcp" #DNS web console (HTTP)
# # - "53443:53443/tcp" #DNS web console (HTTPS)
# - "53:53/udp" #DNS service
# - "53:53/tcp" #DNS service
# # - "853:853/udp" #DNS-over-QUIC service
# # - "853:853/tcp" #DNS-over-TLS service
# # - "443:443/udp" #DNS-over-HTTPS service (HTTP/3)
# # - "443:443/tcp" #DNS-over-HTTPS service (HTTP/1.1, HTTP/2)
# # - "80:80/tcp" #DNS-over-HTTP service (use with reverse proxy or certbot certificate renewal)
# # - "8053:8053/tcp" #DNS-over-HTTP service (use with reverse proxy)
# # - "67:67/udp" #DHCP service
environment:
- DNS_SERVER_DOMAIN=technitium #The primary domain name used by this DNS Server to identify itself.
- DNS_SERVER_ADMIN_PASSWORD=${PASS}
volumes:
- /mnt/docker/configs/technitium:/etc/dns
restart: unless-stopped
# sysctls:
# - net.ipv4.ip_local_port_range=1024 65000
prowlarr:
image: lscr.io/linuxserver/prowlarr:latest
container_name: prowlarr
@@ -221,26 +246,26 @@ services:
restart: unless-stopped
pihole:
container_name: pihole
image: pihole/pihole:latest
ports:
- "53:53/tcp"
- "53:53/udp"
- "67:67/udp"
- "8088:80/tcp"
dns:
- 127.0.0.1
- 1.1.1.1
environment:
TZ: 'America/Chicago'
WEBPASSWORD: ${PASS}
volumes:
- '/mnt/docker/configs/pihole/etc-pihole:/etc/pihole'
- '/mnt/docker/configs/pihole/etc-dnsmasq.d:/etc/dnsmasq.d'
cap_add:
- NET_ADMIN
restart: unless-stopped
#pihole:
# container_name: pihole
# image: pihole/pihole:latest
# ports:
# - "53:53/tcp"
# - "53:53/udp"
# - "67:67/udp"
# - "8088:80/tcp"
# dns:
# - 127.0.0.1
# - 1.1.1.1
# environment:
# TZ: 'America/Chicago'
# WEBPASSWORD: ${PASS}
# volumes:
# - '/mnt/docker/configs/pihole/etc-pihole:/etc/pihole'
# - '/mnt/docker/configs/pihole/etc-dnsmasq.d:/etc/dnsmasq.d'
# cap_add:
# - NET_ADMIN
# restart: unless-stopped
jellyfin:
image: lscr.io/linuxserver/jellyfin:latest

3
permfix Executable file
View File

@@ -0,0 +1,3 @@
# Adds the group 1000 and then adds that group to user 33 to nextcloud container to fix permissions
docker exec -it nextcloud-aio-nextcloud groupadd -g 1000 poslop
docker exec -it nextcloud-aio-nextcloud usermod www-data -aG poslop