28 lines
667 B
YAML
28 lines
667 B
YAML
services:
|
|
production-orders-sync:
|
|
build: .
|
|
container_name: production-orders-sync
|
|
env_file:
|
|
- .env
|
|
environment:
|
|
TINY_REQUEST_DELAY_MS: ${TINY_REQUEST_DELAY_MS:-5000}
|
|
DRY_RUN: ${DRY_RUN:-false}
|
|
restart: "no"
|
|
|
|
# Example only. In production, point DATABASE_URL at the existing Graphs Postgres.
|
|
postgres:
|
|
image: postgres:16-alpine
|
|
profiles:
|
|
- local-db
|
|
environment:
|
|
POSTGRES_DB: graphs
|
|
POSTGRES_USER: postgres
|
|
POSTGRES_PASSWORD: postgres
|
|
ports:
|
|
- "5432:5432"
|
|
volumes:
|
|
- production-orders-sync-postgres:/var/lib/postgresql/data
|
|
|
|
volumes:
|
|
production-orders-sync-postgres:
|