mirror of
https://github.com/tiennm99/goclaw.git
synced 2026-10-14 08:18:19 +00:00
refactor(docker): rename network "shared" to "goclaw-net" (#405)
The generic name "shared" conflicts with other projects on the same host. Use a project-scoped name to avoid collisions.
This commit is contained in:
1 parent
95ce4200dd
commit
424f3a975c
3 files changed
+5
-5
No files matched your search
@@ -37,7 +37,7 @@ COMPOSE = $(COMPOSE_BASE) $(COMPOSE_EXTRA)
|
||||
UPGRADE = docker compose -f docker-compose.yml -f docker-compose.postgres.yml -f docker-compose.upgrade.yml
|
||||
|
||||
net:
|
||||
docker network inspect shared >/dev/null 2>&1 || docker network create shared
|
||||
docker network inspect goclaw-net >/dev/null 2>&1 || docker network create goclaw-net
|
||||
|
||||
version-file:
|
||||
@echo $(VERSION) > VERSION
|
||||
|
||||
@@ -15,7 +15,7 @@ services:
|
||||
- "${GOCLAW_UI_PORT:-3000}:80"
|
||||
networks:
|
||||
- default
|
||||
- shared
|
||||
- goclaw-net
|
||||
depends_on:
|
||||
- goclaw
|
||||
restart: unless-stopped
|
||||
+3
-3
@@ -60,7 +60,7 @@ services:
|
||||
pids: 200
|
||||
networks:
|
||||
- default
|
||||
- shared
|
||||
- goclaw-net
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
@@ -68,6 +68,6 @@ volumes:
|
||||
goclaw-workspace:
|
||||
|
||||
networks:
|
||||
shared:
|
||||
name: shared
|
||||
goclaw-net:
|
||||
name: goclaw-net
|
||||
driver: bridge
|
||||
Reference in new issue
Block a user