File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ services :
2+ postgres :
3+ image : postgres:17-alpine
4+ container_name : fireform-postgres-prod
5+ environment :
6+ POSTGRES_USER : ${POSTGRES_USER:-fireform}
7+ POSTGRES_PASSWORD : ${POSTGRES_PASSWORD}
8+ POSTGRES_DB : ${POSTGRES_DB:-fireform}
9+ volumes :
10+ - postgres_data:/var/lib/postgresql/data
11+ ports :
12+ - " 127.0.0.1:5432:5432"
13+ restart : unless-stopped
14+ healthcheck :
15+ test : ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER:-fireform}"]
16+ interval : 10s
17+ timeout : 5s
18+ retries : 5
19+
20+ volumes :
21+ postgres_data :
22+ driver : local
Original file line number Diff line number Diff line change @@ -53,19 +53,18 @@ services:
5353 " --access-logfile" , "-",
5454 " --error-logfile" , "-"]
5555 volumes :
56- - fireform_db:/data/db
5756 - fireform_uploads:/data/uploads
5857 ports :
5958 - " ${APP_PORT}:8000"
6059 environment :
6160 - PYTHONUNBUFFERED=1
6261 - CUDA_VISIBLE_DEVICES=
6362 - PYTHONPATH=/app
63+ - DATABASE_URL=${DATABASE_URL}
6464 - OLLAMA_HOST=${OLLAMA_HOST}
6565 - OLLAMA_TIMEOUT=${OLLAMA_TIMEOUT}
6666 - OLLAMA_MODEL=${OLLAMA_MODEL}
6767 - WHISPER_HOST=${WHISPER_HOST}
68- - FIREFORM_DB_PATH=/data/db/fireform.db
6968 - FIREFORM_DATA_DIR=/data/uploads
7069 - FIREFORM_TEMPLATE_DIR=/data/uploads
7170 - FIREFORM_DB_ECHO=false
@@ -80,8 +79,6 @@ volumes:
8079 driver : local
8180 whisper_models :
8281 driver : local
83- fireform_db :
84- driver : local
8582 fireform_uploads :
8683 driver : local
8784
You can’t perform that action at this time.
0 commit comments