Files
WeatherTool/docker-compose.yml
T
b0txec 39fcb3ed6b Remove the dead METEO_* fetch path
Confirmed via git history it's not a separate vendor: the very first
commit (2023-04-13) included real sample CSVs from it with a Latvian
header identical to the LVGMC/open-data fields — same underlying LVĢMC
data, just an earlier delivery mechanism superseded by the FTP feed and
never removed. Never wired into anything that runs (Server.scala's
import was already commented out).
2026-08-23 10:49:26 +03:00

55 lines
1.5 KiB
YAML

services:
node:
image: node:22.14.0
working_dir: /web
volumes:
- ./web:/web
command: sh -c "npm install && npm run build"
postgres:
image: postgres:16.1
healthcheck:
test: [ "CMD-SHELL", "pg_isready -d ${POSTGRES_DB} -U ${POSTGRES_USER}" ]
interval: 5s
timeout: 5s
retries: 5
environment:
POSTGRES_DB: ${POSTGRES_DB}
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
volumes:
- ./postgres:/var/lib/postgresql/data
scala:
environment:
POSTGRES_DB: ${POSTGRES_DB}
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
POSTGRES_HOST: ${POSTGRES_HOST}
LVGMC_URL: ${LVGMC_URL}
LVGMC_USER: ${LVGMC_USER}
LVGMC_PASSWORD: ${LVGMC_PASSWORD}
HARMONIE_EDR_API_KEY: ${HARMONIE_EDR_API_KEY}
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}
ENABLE_LEGACY_PROVIDER_JOBS: ${ENABLE_LEGACY_PROVIDER_JOBS:-false}
build:
context: .
dockerfile: Dockerfile.local
restart: on-failure:10
volumes:
- scala-data:/data
- ./web/dist:/web/dist
ports:
- "${APP_BIND_ADDRESS:-127.0.0.1}:${APP_PORT:-9090}:8080"
depends_on:
node:
condition: service_completed_successfully
postgres:
condition: service_healthy
volumes:
scala-data: