Skip to content

Instantly share code, notes, and snippets.

@PY44N
Created June 24, 2025 11:54
Show Gist options
  • Save PY44N/8bc63b8da9bd77b06c472ac62b82ff03 to your computer and use it in GitHub Desktop.
Save PY44N/8bc63b8da9bd77b06c472ac62b82ff03 to your computer and use it in GitHub Desktop.
services:
postgres:
image: postgres:17 # You can choose a specific version or use 'latest'
# container_name: file_uploader_db
restart: unless-stopped
environment:
POSTGRES_USER: postgres # Replace with your desired username
POSTGRES_PASSWORD: V6dAaH0ch4qCFB5dvR1FX1BZai1F3f # Replace with your desired password
POSTGRES_DB: orchestrator_db # Replace with your desired database name
ports:
- "5432:5432" # Maps port 5432 on your host to port 5432 in the container
volumes:
- ./postgres_data:/var/lib/postgresql/data # Persists data even if the container stops/restarts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment