Created
June 24, 2025 11:54
-
-
Save PY44N/8bc63b8da9bd77b06c472ac62b82ff03 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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