fix: align docker startup with shared locale-all network
This commit is contained in:
@@ -102,7 +102,9 @@ Notes:
|
|||||||
- `GOOGLE_MAPS_SERVER_KEY`
|
- `GOOGLE_MAPS_SERVER_KEY`
|
||||||
- `VITE_API_BASE_URL`
|
- `VITE_API_BASE_URL`
|
||||||
- `VITE_GOOGLE_MAPS_PLATFORM_KEY`
|
- `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`
|
`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.
|
The Compose stack starts PostGIS, waits for the database to become healthy, runs migrations automatically, and then starts the API, worker, and web containers.
|
||||||
|
|||||||
@@ -30,6 +30,8 @@ services:
|
|||||||
COOKIE_SECRET: ${COOKIE_SECRET}
|
COOKIE_SECRET: ${COOKIE_SECRET}
|
||||||
PG_BOSS_SCHEMA: ${PG_BOSS_SCHEMA}
|
PG_BOSS_SCHEMA: ${PG_BOSS_SCHEMA}
|
||||||
restart: "no"
|
restart: "no"
|
||||||
|
networks:
|
||||||
|
- locale-all
|
||||||
|
|
||||||
api:
|
api:
|
||||||
build:
|
build:
|
||||||
|
|||||||
Reference in New Issue
Block a user