From a6df4cb3cbab68771b8feb5a8085ad3e549413ee Mon Sep 17 00:00:00 2001 From: pguerrerox Date: Tue, 26 May 2026 20:02:47 +0000 Subject: [PATCH] fix: align docker startup with shared locale-all network --- README.md | 4 +++- docker-compose.yml | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index af01ca3..c119483 100644 --- a/README.md +++ b/README.md @@ -102,7 +102,9 @@ Notes: - `GOOGLE_MAPS_SERVER_KEY` - `VITE_API_BASE_URL` - `VITE_GOOGLE_MAPS_PLATFORM_KEY` -2. Build and start the full stack: +2. Create the shared Docker network if it does not exist: + `docker network create locale-all || true` +3. Build and start the full stack: `docker compose up --build` The Compose stack starts PostGIS, waits for the database to become healthy, runs migrations automatically, and then starts the API, worker, and web containers. diff --git a/docker-compose.yml b/docker-compose.yml index 8c8edfe..67e90dd 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -30,6 +30,8 @@ services: COOKIE_SECRET: ${COOKIE_SECRET} PG_BOSS_SCHEMA: ${PG_BOSS_SCHEMA} restart: "no" + networks: + - locale-all api: build: