Complete basic setup

This commit is contained in:
GHOSCHT 2022-08-27 21:20:24 +02:00
parent 2fa9fad1f7
commit 14f634869d
No known key found for this signature in database
GPG key ID: A35BD466B8871994
5 changed files with 41 additions and 26 deletions

View file

@ -1,2 +1,3 @@
# franz
# Franz
Collection of Docker Compose files for my homeserver

View file

@ -4,8 +4,6 @@ services:
pihole:
container_name: pihole
image: pihole/pihole
hostname: pihole
volumes:
- pihole_dnsmasq:/etc/dnsmasq.d
- pihole_data:/etc/pihole
@ -14,15 +12,17 @@ services:
- IPv6=True
- TZ=Europe/Berlin
- SKIPGRAVITYONBOOT=1
- VIRTUAL_HOST=pihole
- VIRTUAL_HOST=pihole.franz.local
ports:
- "53:53/tcp"
- "53:53/udp"
- "8420:80"
- 8420:80
cap_add:
- NET_ADMIN
networks:
traefik_net:
dns_net:
ipv4_address: 172.28.1.6
labels:
- traefik.enable=true
- traefik.http.routers.pihole.entrypoints=web
@ -31,7 +31,7 @@ services:
unbound:
container_name: unbound
image: mvance/unbound-rpi
image: klutchell/unbound:edge
volumes:
- unbound_data:/opt/unbound/etc/unbound
dns:
@ -39,11 +39,22 @@ services:
restart: always
networks:
traefik_net:
dns_net:
ipv4_address: 172.28.1.5
networks:
traefik_net:
name: traefik-net
external: true
dns_net:
name: dns-net
driver: bridge
ipam:
config:
-
subnet: 172.28.1.0/24
ip_range: 172.28.1.5/30
gateway: 172.28.1.1
volumes:
pihole_dnsmasq:

View file

@ -4,7 +4,6 @@ services:
image: ghcr.io/tychothetaco/twitch-drops-bot
container_name: dropbot
user: uid:gid
network_mode: "host"
volumes:
- dropbot_data:/app/data
restart: "unless-stopped"

View file

@ -44,7 +44,6 @@ services:
restart: always
networks:
traefik_net:
ipv4_address: 172.26.0.2
labels:
- traefik.enable=true
- traefik.http.routers.flame.entrypoints=web

View file

@ -3,21 +3,26 @@ services:
jellyfin:
image: jellyfin/jellyfin
container_name: jellyfin
ports:
- "80:80"
user: uid:gid
network_mode: "host"
volumes:
- jellyfin_data:/config
- jellyfin_cache:/cache
- /mnt:/media
restart: "unless-stopped"
networks:
traefik_net:
labels:
- traefik.enable=true
- traefik.http.routers.jellyfin.entrypoints=web
- traefik.http.routers.jellyfin.rule=Host(`jellyfin.franz.local`)
- traefik.http.services.jellyfin.loadbalancer.server.port=8096
restart: always
networks:
traefik_net:
name: traefik-net
external: true
volumes:
jellyfin_data:
name: jellyfin_data
external: true
jellyfin_cache:
name: jellyfin_cache
external: true