Add isolated staging and synthetic weather workflow
This commit is contained in:
+30
-6
@@ -1,4 +1,27 @@
|
||||
services:
|
||||
seed:
|
||||
image: postgres:16.1
|
||||
profiles: ["tools"]
|
||||
environment:
|
||||
PGPASSWORD: ${POSTGRES_PASSWORD}
|
||||
volumes:
|
||||
- ./dev/seed_weather.sql:/seed/seed_weather.sql:ro
|
||||
command:
|
||||
- psql
|
||||
- -h
|
||||
- postgres
|
||||
- -U
|
||||
- ${POSTGRES_USER}
|
||||
- -d
|
||||
- ${POSTGRES_DB}
|
||||
- -v
|
||||
- ON_ERROR_STOP=1
|
||||
- -f
|
||||
- /seed/seed_weather.sql
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
|
||||
node:
|
||||
image: node:22.14.0
|
||||
working_dir: /web
|
||||
@@ -8,8 +31,6 @@ services:
|
||||
|
||||
postgres:
|
||||
image: postgres:16.1
|
||||
ports:
|
||||
- "5432:5432"
|
||||
healthcheck:
|
||||
test: [ "CMD-SHELL", "pg_isready -d ${POSTGRES_DB} -U ${POSTGRES_USER}" ]
|
||||
interval: 5s
|
||||
@@ -38,6 +59,7 @@ services:
|
||||
HARMONIE_EDR_URL: ${HARMONIE_EDR_URL}
|
||||
HARMONIE_STAC_API_KEY: ${HARMONIE_STAC_API_KEY}
|
||||
HARMONIE_STAC_URL: ${HARMONIE_STAC_URL}
|
||||
ENABLE_SCHEDULED_JOBS: ${ENABLE_SCHEDULED_JOBS:-true}
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile.local
|
||||
@@ -46,10 +68,12 @@ services:
|
||||
- scala-data:/data
|
||||
- ./web/dist:/web/dist
|
||||
ports:
|
||||
- "9090:8080"
|
||||
- "${APP_BIND_ADDRESS:-127.0.0.1}:${APP_PORT:-9090}:8080"
|
||||
depends_on:
|
||||
- node
|
||||
- postgres
|
||||
node:
|
||||
condition: service_completed_successfully
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
|
||||
volumes:
|
||||
scala-data:
|
||||
scala-data:
|
||||
|
||||
Reference in New Issue
Block a user