first commit
This commit is contained in:
27
docker-compose.yml
Normal file
27
docker-compose.yml
Normal file
@@ -0,0 +1,27 @@
|
||||
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:
|
||||
Reference in New Issue
Block a user