mirror of
https://github.com/Dvorinka/Trackeep.git
synced 2026-06-03 20:12:58 +00:00
5da6360ed9
Transition from a multi-service architecture to an all-in-one container by bundling PostgreSQL directly within the Docker image. This simplifies deployment, especially for environments like CasaOS, by removing the need for an external database service. - Update Dockerfile to install and configure PostgreSQL - Implement database initialization logic in docker-entrypoint.sh - Update .env.example to reflect auto-generation of credentials - Simplify docker-compose.yml to a single service - Update README.md with new deployment instructions and architecture details
15 lines
512 B
Bash
15 lines
512 B
Bash
# Trackeep All-in-One Configuration
|
|
# PostgreSQL is bundled inside the container — no external database needed.
|
|
# Everything below is optional; the container auto-generates sensible defaults.
|
|
|
|
# Host port mapping (default: 8080)
|
|
HOST_PORT=8080
|
|
|
|
# Database credentials (auto-generated if left empty)
|
|
# DB_PASSWORD=your_secure_password_here
|
|
# DB_USER=trackeep
|
|
# DB_NAME=trackeep
|
|
|
|
# JWT Secret (auto-generated and persisted in /data if left empty)
|
|
# JWT_SECRET=your_jwt_secret_here_64_hex_characters_long_exactly
|