From 8526e8cdcc79976b436fe9a41f90b72561249252 Mon Sep 17 00:00:00 2001 From: Dylan Baird Date: Mon, 23 Dec 2024 10:43:55 -0500 Subject: [PATCH] Adding Caddy and testing network mode change for jellyfin. --- caddy/Caddyfile | 15 +++++++++++++++ docker-compose.yml | 4 +++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 caddy/Caddyfile diff --git a/caddy/Caddyfile b/caddy/Caddyfile new file mode 100644 index 0000000..6983b73 --- /dev/null +++ b/caddy/Caddyfile @@ -0,0 +1,15 @@ +jellyfin.dylanbaird.com { + reverse_proxy localhost:8096 +} + +cindysquiltsandthings.ca { + respond "Future home of Cindy's Quilts and Things" +} + +forgejo.dylanbaird.com { + reverse_proxy localhost:3000 +} + +registry.dylanbaird.com { + reverse_proxy localhost:5000 +} \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 003a892..a096332 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -10,7 +10,9 @@ services: jellyfin: image: jellyfin/jellyfin container_name: jellyfin - network_mode: 'host' # uses port 8096 + # network_mode: 'host' # uses port 8096 + ports: + - "8096:8096" volumes: - /tarrega/jellyfin/config:/config - /tarrega/jellyfin/cache:/cache