mirror of
https://github.com/GHOSCHT/franz.git
synced 2024-12-26 06:20:35 +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
|
||||
|
|
|
@ -1,11 +1,9 @@
|
|||
version: '2'
|
||||
|
||||
services:
|
||||
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:
|
||||
|
||||
networks:
|
||||
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:
|
||||
|
@ -51,4 +62,4 @@ volumes:
|
|||
pihole_data:
|
||||
name: pihole_data
|
||||
unbound_data:
|
||||
name: unbound_data
|
||||
name: unbound_data
|
|
@ -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"
|
||||
|
|
|
@ -24,7 +24,7 @@ services:
|
|||
image: "louislam/uptime-kuma"
|
||||
volumes:
|
||||
- kuma_data:/app/data
|
||||
restart: always
|
||||
restart: always
|
||||
networks:
|
||||
traefik_net:
|
||||
dns:
|
||||
|
@ -43,16 +43,15 @@ services:
|
|||
- flame_secrets.env
|
||||
restart: always
|
||||
networks:
|
||||
traefik_net:
|
||||
ipv4_address: 172.26.0.2
|
||||
traefik_net:
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- traefik.http.routers.flame.entrypoints=web
|
||||
- traefik.http.routers.flame.rule=Host(`franz.local`)
|
||||
dns:
|
||||
- 1.1.1.1
|
||||
|
||||
networks:
|
||||
|
||||
networks:
|
||||
traefik_net:
|
||||
name: traefik-net
|
||||
driver: bridge
|
||||
|
@ -63,4 +62,4 @@ volumes:
|
|||
kuma_data:
|
||||
name: kuma_data
|
||||
flame_data:
|
||||
name: flame_data
|
||||
name: flame_data
|
|
@ -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
|
||||
name: jellyfin_cache
|
Loading…
Reference in a new issue