Adding caddy image and adding caddy to compose file.

This commit is contained in:
Dylan Baird 2024-12-23 11:17:05 -05:00
parent 8526e8cdcc
commit 384c272fcc
3 changed files with 17 additions and 6 deletions

View file

@ -1,15 +1,15 @@
jellyfin.dylanbaird.com { jellyfin.dylanbaird.com {
reverse_proxy localhost:8096 reverse_proxy jellyfin:8096
} }
cindysquiltsandthings.ca { cindysquiltsandthings.ca {
respond "Future home of Cindy's Quilts and Things" respond "Future home of Cindy's Quilts and Things"
} }
forgejo.dylanbaird.com { forgejo.dylanbaird.com {
reverse_proxy localhost:3000 reverse_proxy forgejo:3000
} }
registry.dylanbaird.com { registry.dylanbaird.com {
reverse_proxy localhost:5000 reverse_proxy registry:5000
} }

3
caddy/Dockerfile Normal file
View file

@ -0,0 +1,3 @@
FROM caddy:latest
COPY Caddyfile /etc/caddy/Caddyfile

View file

@ -10,7 +10,6 @@ services:
jellyfin: jellyfin:
image: jellyfin/jellyfin image: jellyfin/jellyfin
container_name: jellyfin container_name: jellyfin
# network_mode: 'host' # uses port 8096
ports: ports:
- "8096:8096" - "8096:8096"
volumes: volumes:
@ -27,4 +26,13 @@ services:
ports: ports:
- "5000:5000" - "5000:5000"
volumes: volumes:
- /tarrega/registry:/var/lib/registry - /tarrega/registry:/var/lib/registry
caddy:
image: boulangermontrealais/barrios:caddy
container_name: caddy
ports:
- "80:80"
- "443:443"
volumes:
- /tarrega/caddy/config:/config
- /tarrega/caddy/data:/data