chore: update PostgreSQL host in .env-sample and volume path in docker-compose.yml for Docker deployment

This commit is contained in:
g0ldyy
2025-12-26 10:40:14 +01:00
parent b61f196d0b
commit ef4a0b3722
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ PUBLIC_METRICS_API=False # Set to True to allow public access to the metrics API
# - Data corruption risks under heavy load
# For production deployments, use PostgreSQL!
DATABASE_TYPE=postgresql # Options: sqlite, postgresql - Use postgresql for production, sqlite for development only
DATABASE_URL=comet:comet@localhost:5432/comet # For PostgreSQL (user:password@host:port/database)
DATABASE_URL=comet:comet@postgres:5432/comet # For PostgreSQL (user:password@host:port/database)
DATABASE_PATH=data/comet.db # Only relevant for SQLite (development only)
DATABASE_BATCH_SIZE=20000 # The batch size for the database import and export operations
DATABASE_READ_REPLICA_URLS='' # Optional JSON array of PostgreSQL read-only URLs, e.g. '["user:pass@replica-1/db", "user:pass@replica-2/db"]'
+1 -1
View File
@@ -51,7 +51,7 @@ services:
- "-c"
- "max_connections=100"
volumes:
- postgres_data:/var/lib/postgresql/docker
- postgres_data:/var/lib/postgresql/18/docker
healthcheck:
test: ["CMD-SHELL", "pg_isready -U comet -d comet"]
interval: 5s