mirror of
https://github.com/GHOSCHT/franz.git
synced 2024-12-27 08:15:27 +01:00
Complete basic setup
This commit is contained in:
parent
2fa9fad1f7
commit
14f634869d
5 changed files with 41 additions and 26 deletions
|
@ -1,2 +1,3 @@
|
||||||
# franz
|
# Franz
|
||||||
|
|
||||||
|
Collection of Docker Compose files for my homeserver
|
||||||
|
|
|
@ -4,8 +4,6 @@ services:
|
||||||
pihole:
|
pihole:
|
||||||
container_name: pihole
|
container_name: pihole
|
||||||
image: pihole/pihole
|
image: pihole/pihole
|
||||||
|
|
||||||
hostname: pihole
|
|
||||||
volumes:
|
volumes:
|
||||||
- pihole_dnsmasq:/etc/dnsmasq.d
|
- pihole_dnsmasq:/etc/dnsmasq.d
|
||||||
- pihole_data:/etc/pihole
|
- pihole_data:/etc/pihole
|
||||||
|
@ -14,15 +12,17 @@ services:
|
||||||
- IPv6=True
|
- IPv6=True
|
||||||
- TZ=Europe/Berlin
|
- TZ=Europe/Berlin
|
||||||
- SKIPGRAVITYONBOOT=1
|
- SKIPGRAVITYONBOOT=1
|
||||||
- VIRTUAL_HOST=pihole
|
- VIRTUAL_HOST=pihole.franz.local
|
||||||
ports:
|
ports:
|
||||||
- "53:53/tcp"
|
- "53:53/tcp"
|
||||||
- "53:53/udp"
|
- "53:53/udp"
|
||||||
- "8420:80"
|
- 8420:80
|
||||||
cap_add:
|
cap_add:
|
||||||
- NET_ADMIN
|
- NET_ADMIN
|
||||||
networks:
|
networks:
|
||||||
traefik_net:
|
traefik_net:
|
||||||
|
dns_net:
|
||||||
|
ipv4_address: 172.28.1.6
|
||||||
labels:
|
labels:
|
||||||
- traefik.enable=true
|
- traefik.enable=true
|
||||||
- traefik.http.routers.pihole.entrypoints=web
|
- traefik.http.routers.pihole.entrypoints=web
|
||||||
|
@ -31,7 +31,7 @@ services:
|
||||||
|
|
||||||
unbound:
|
unbound:
|
||||||
container_name: unbound
|
container_name: unbound
|
||||||
image: mvance/unbound-rpi
|
image: klutchell/unbound:edge
|
||||||
volumes:
|
volumes:
|
||||||
- unbound_data:/opt/unbound/etc/unbound
|
- unbound_data:/opt/unbound/etc/unbound
|
||||||
dns:
|
dns:
|
||||||
|
@ -39,11 +39,22 @@ services:
|
||||||
restart: always
|
restart: always
|
||||||
networks:
|
networks:
|
||||||
traefik_net:
|
traefik_net:
|
||||||
|
dns_net:
|
||||||
|
ipv4_address: 172.28.1.5
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
traefik_net:
|
traefik_net:
|
||||||
name: traefik-net
|
name: traefik-net
|
||||||
external: true
|
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:
|
volumes:
|
||||||
pihole_dnsmasq:
|
pihole_dnsmasq:
|
||||||
|
|
|
@ -4,7 +4,6 @@ services:
|
||||||
image: ghcr.io/tychothetaco/twitch-drops-bot
|
image: ghcr.io/tychothetaco/twitch-drops-bot
|
||||||
container_name: dropbot
|
container_name: dropbot
|
||||||
user: uid:gid
|
user: uid:gid
|
||||||
network_mode: "host"
|
|
||||||
volumes:
|
volumes:
|
||||||
- dropbot_data:/app/data
|
- dropbot_data:/app/data
|
||||||
restart: "unless-stopped"
|
restart: "unless-stopped"
|
||||||
|
|
|
@ -44,7 +44,6 @@ services:
|
||||||
restart: always
|
restart: always
|
||||||
networks:
|
networks:
|
||||||
traefik_net:
|
traefik_net:
|
||||||
ipv4_address: 172.26.0.2
|
|
||||||
labels:
|
labels:
|
||||||
- traefik.enable=true
|
- traefik.enable=true
|
||||||
- traefik.http.routers.flame.entrypoints=web
|
- traefik.http.routers.flame.entrypoints=web
|
||||||
|
|
|
@ -3,21 +3,26 @@ services:
|
||||||
jellyfin:
|
jellyfin:
|
||||||
image: jellyfin/jellyfin
|
image: jellyfin/jellyfin
|
||||||
container_name: jellyfin
|
container_name: jellyfin
|
||||||
ports:
|
|
||||||
- "80:80"
|
|
||||||
user: uid:gid
|
|
||||||
network_mode: "host"
|
|
||||||
volumes:
|
volumes:
|
||||||
- jellyfin_data:/config
|
- jellyfin_data:/config
|
||||||
- jellyfin_cache:/cache
|
- jellyfin_cache:/cache
|
||||||
- /mnt:/media
|
- /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:
|
volumes:
|
||||||
jellyfin_data:
|
jellyfin_data:
|
||||||
name: jellyfin_data
|
name: jellyfin_data
|
||||||
external: true
|
|
||||||
jellyfin_cache:
|
jellyfin_cache:
|
||||||
name: jellyfin_cache
|
name: jellyfin_cache
|
||||||
external: true
|
|
||||||
|
|
Loading…
Reference in a new issue