mirror of
https://github.com/GHOSCHT/franz.git
synced 2024-11-09 23:31:58 +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'
|
version: '2'
|
||||||
|
|
||||||
services:
|
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:
|
||||||
networks:
|
ipv4_address: 172.28.1.5
|
||||||
|
|
||||||
|
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:
|
||||||
|
@ -51,4 +62,4 @@ volumes:
|
||||||
pihole_data:
|
pihole_data:
|
||||||
name: pihole_data
|
name: pihole_data
|
||||||
unbound_data:
|
unbound_data:
|
||||||
name: unbound_data
|
name: unbound_data
|
|
@ -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"
|
||||||
|
|
|
@ -24,7 +24,7 @@ services:
|
||||||
image: "louislam/uptime-kuma"
|
image: "louislam/uptime-kuma"
|
||||||
volumes:
|
volumes:
|
||||||
- kuma_data:/app/data
|
- kuma_data:/app/data
|
||||||
restart: always
|
restart: always
|
||||||
networks:
|
networks:
|
||||||
traefik_net:
|
traefik_net:
|
||||||
dns:
|
dns:
|
||||||
|
@ -43,16 +43,15 @@ services:
|
||||||
- flame_secrets.env
|
- flame_secrets.env
|
||||||
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
|
||||||
- traefik.http.routers.flame.rule=Host(`franz.local`)
|
- traefik.http.routers.flame.rule=Host(`franz.local`)
|
||||||
dns:
|
dns:
|
||||||
- 1.1.1.1
|
- 1.1.1.1
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
traefik_net:
|
traefik_net:
|
||||||
name: traefik-net
|
name: traefik-net
|
||||||
driver: bridge
|
driver: bridge
|
||||||
|
@ -63,4 +62,4 @@ volumes:
|
||||||
kuma_data:
|
kuma_data:
|
||||||
name: kuma_data
|
name: kuma_data
|
||||||
flame_data:
|
flame_data:
|
||||||
name: flame_data
|
name: flame_data
|
|
@ -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