Keep Caddy on pinscope_periscope after compose rename.

Pin the app bridge to the pre-rename network name and add DNS aliases
pinscope / periscope-frontend so the host proxy can reach the stack again.
This commit is contained in:
2026-09-20 00:35:12 +02:00
parent 6b0e44a50c
commit ddab6917a3
3 changed files with 29 additions and 4 deletions
+12 -3
View File
@@ -1,5 +1,7 @@
# Canonical compose project on the VPS is "periscope" (not the GitHub
# clone folder name "pinscope"). Bind mounts stay relative to the checkout.
# Keep the Docker network name pinscope_periscope so host Caddy/nginx that
# joined the pre-rename network can still reach these containers by DNS.
name: periscope
services:
@@ -28,7 +30,10 @@ services:
- "8080:8080"
networks:
- periscope
periscope:
aliases:
- periscope-backend
- pinscope-backend
frontend:
build:
@@ -48,9 +53,13 @@ services:
- "3000:3000"
networks:
- periscope
periscope:
aliases:
- periscope-frontend
- pinscope
- pinscope-frontend
networks:
periscope:
name: pinscope_periscope
driver: bridge