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:
+12
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user