-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
30 lines (27 loc) · 820 Bytes
/
docker-compose.yml
File metadata and controls
30 lines (27 loc) · 820 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Colorado Powracle - PostgreSQL Docker Setup
#
# IMPORTANT: Change the POSTGRES_PASSWORD below before running in production!
# This default password is for local development only.
#
# Quick Start:
# 1. Edit the password below
# 2. docker-compose up -d
# 3. Add to .env: DATABASE_URL=postgresql://powracle_user:your_password@localhost:5432/powracle
# 4. python db/run_migrations.py
# 5. streamlit run app.py
version: '3.8'
services:
postgres:
image: postgres:15-alpine
container_name: powracle-postgres
environment:
POSTGRES_USER: powracle_user
POSTGRES_PASSWORD: your_secure_password # ⚠️ CHANGE THIS!
POSTGRES_DB: powracle
ports:
- "5432:5432"
volumes:
- powracle-data:/var/lib/postgresql/data
restart: unless-stopped
volumes:
powracle-data: