services: timescaledb: image: timescale/timescaledb:latest-pg16 environment: POSTGRES_PASSWORD: postgres POSTGRES_USER: postgres POSTGRES_DB: micrometeo ports: - "5432:5432" volumes: - tsdata:/var/lib/postgresql/data # runs on first DB initialization only - ./db/init:/docker-entrypoint-initdb.d:ro ingestd: build: context: . dockerfile: Dockerfile depends_on: - timescaledb restart: unless-stopped volumes: - ./config.yaml:/app/config.yaml:ro volumes: tsdata: