Skip to content

Commit c45182f

Browse files
committed
added jellyfin
added stable-diffusion-webui dnsmasq now sets up a static IP address on a predefined subnet so that the Docker daemon can query it reliably renamed network frigate_default to frigate-net
1 parent 50d6ca8 commit c45182f

9 files changed

Lines changed: 56 additions & 10 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ avahi-dns/services
99
backrest/config/config.json*
1010

1111
dnsmasq/conf/dnsmasq.conf
12+
dnsmasq/conf/hosts.d/
1213

1314
glances/glances.conf
1415
glances/glances.pwd

dnsmasq/.env.example

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
1-
HTTP_USER: YOUR-USERNAME
2-
HTTP_PASS: YOUR-PASSWORD
1+
HTTP_USER=YOUR-USERNAME
2+
HTTP_PASS=YOUR-PASSWORD
3+
IPV4_ADDRESS=172.80.0.2
4+
IPV4_SUBNET=172.80.0.0/24

dnsmasq/conf/hosts.d/.gitkeep

Whitespace-only changes.

dnsmasq/docker-compose.yml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,25 @@ services:
33
restart: unless-stopped
44
image: jpillora/dnsmasq
55
container_name: dnsmasq
6+
networks:
7+
dnsmasq:
8+
ipv4_address: "${IPV4_ADDRESS}"
9+
proxy:
610
volumes:
711
- ./conf/dnsmasq.conf:/etc/dnsmasq.conf
8-
# - ../../lib/dnsmasq/hosts.d:/etc/hosts.d
9-
# - ./conf/hosts.d:/etc/hosts.d
10-
- ./conf/:/etc/dnsmasq
12+
- ./conf/hosts.d:/etc/hosts.d
1113
ports:
1214
- "53:53/udp"
13-
# - "8089:8080"
15+
# - "8080:8080"
1416
env_file:
1517
- .env
1618
networks:
17-
default:
19+
dnsmasq:
20+
name: dnsmasq
21+
driver: bridge
22+
ipam:
23+
config:
24+
- subnet: "${IPV4_SUBNET}"
25+
proxy:
1826
external: true
1927
name: nginx-proxy-net

frigate/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ services:
2929
- .env
3030
networks:
3131
default:
32-
name: frigate_default
32+
name: frigate-net
3333
driver: bridge
3434
proxy:
3535
external: true

home-assistant/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ networks:
4040
name: mdns-net
4141
frigate:
4242
external: true
43-
name: frigate_default
43+
name: frigate-net
4444
llama:
4545
external: true
4646
name: llama-net

jellyfin/.env.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#JELLYFIN_PublishedServerUrl=http://example.com

jellyfin/docker-compose.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
services:
2+
jellyfin:
3+
image: jellyfin/jellyfin
4+
container_name: jellyfin
5+
hostname: jellyfin
6+
# user: uid:gid
7+
# network_mode: 'host'
8+
restart: 'unless-stopped'
9+
volumes:
10+
- ../../lib/jellyfin:/config
11+
- ./config:/config/config
12+
- ../../logs/jellyfin:/config/logs
13+
- ../../run/jellyfin/cache:/cache
14+
- /media/nas:/media
15+
# ports:
16+
# - 8096:8096
17+
env_file:
18+
- .env
19+
# Optional - may be necessary for docker healthcheck to pass if running in host network mode
20+
extra_hosts:
21+
- 'host.docker.internal:host-gateway'
22+
networks:
23+
- proxy
24+
- mdns
25+
networks:
26+
proxy:
27+
name: nginx-proxy-net
28+
external: true
29+
db:
30+
name: postgres-net
31+
external: true
32+
mdns:
33+
external: true
34+
name: mdns-net

stable-diffusion-webui/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ services:
1919
count: "${GPU_COUNT}"
2020
capabilities: [gpu]
2121
networks:
22-
default
22+
default:
2323
name: nginx-proxy-net
2424
external: true

0 commit comments

Comments
 (0)