mirror of
https://github.com/azaion/gps-denied-onboard.git
synced 2026-06-21 05:51:13 +00:00
79997e39ac
Add the initial source, test, infrastructure, CI, configuration, and evidence-path scaffold so dependent implementation tasks have stable package and runtime boundaries. Co-authored-by: Cursor <cursoragent@cursor.com>
35 lines
778 B
YAML
35 lines
778 B
YAML
services:
|
|
postgis:
|
|
image: postgis/postgis:16-3.4
|
|
environment:
|
|
POSTGRES_DB: gpsd
|
|
POSTGRES_USER: gpsd
|
|
POSTGRES_PASSWORD: gpsd
|
|
ports:
|
|
- "5432:5432"
|
|
volumes:
|
|
- postgis-data:/var/lib/postgresql/data
|
|
- ./migrations/postgresql:/docker-entrypoint-initdb.d:ro
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready -U gpsd -d gpsd"]
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 5
|
|
|
|
runtime:
|
|
build:
|
|
context: .
|
|
dockerfile: deployment/docker/Dockerfile.runtime
|
|
env_file:
|
|
- .env.example
|
|
depends_on:
|
|
postgis:
|
|
condition: service_healthy
|
|
volumes:
|
|
- ./data/cache:/app/data/cache
|
|
- ./data/fdr:/app/data/fdr
|
|
- ./data/input:/app/data/input:ro
|
|
|
|
volumes:
|
|
postgis-data:
|