refactor(navidrome): replace custom Caddy build with pre-built image
Remove custom Dockerfile.caddy and use caddybuilds/caddy-namecheap:2-alpine image directly in docker-compose.yml to simplify deployment
This commit is contained in:
parent
d7efa69de6
commit
996f7a184d
@ -1,7 +0,0 @@
|
|||||||
from caddy:2.9-builder-alpine as builder
|
|
||||||
|
|
||||||
run xcaddy build \
|
|
||||||
--with github.com/caddy-dns/namecheap
|
|
||||||
|
|
||||||
from caddy:alpine
|
|
||||||
copy --from=builder /usr/bin/caddy /usr/bin/caddy
|
|
@ -22,9 +22,7 @@ services:
|
|||||||
- internal
|
- internal
|
||||||
|
|
||||||
reverse_proxy:
|
reverse_proxy:
|
||||||
build:
|
image: caddybuilds/caddy-namecheap:2-alpine
|
||||||
context: .
|
|
||||||
dockerfile: Dockerfile.caddy
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
network_mode: service:tailscale
|
network_mode: service:tailscale
|
||||||
volumes:
|
volumes:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user