Add the setup guide for Docker & updated the dockerfile and docker-compose.yml file.

This commit is contained in:
Rik Heijmann
2025-02-28 21:42:04 +01:00
parent 84f8504891
commit c8858b8e5a
5 changed files with 205 additions and 69 deletions

View File

@@ -24,8 +24,13 @@ SERVER_WORKER_THREADS=2
# 🛢️ DATABASE CONFIGURATION
# ==============================
# PostgreSQL connection URL (format: postgres://user:password@host/database)
DATABASE_URL="postgres://postgres:1234@localhost/database_name"
# For running Axium standalone:
DATABASE_URL="postgres://dbuser:1234@localhost/axium"
# For docker:
DATABASE_USER=dbuser
DATABASE_PASSWORD=1234
DATABASE_DB=axium
# Maximum number of connections in the database pool
DATABASE_MAX_CONNECTIONS=20