-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
The Docker configuration must be updated to support the new multi-user, database-driven architecture.
- Add Database Service: Modify the docker-compose.yml file to include a service for a PostgreSQL database.
- Use Environment Variables: Configure the main application service to receive its configuration (e.g., database URL, JWT secret key) from environment variables rather than hardcoded values.
- Ensure Data Persistence: Set up named Docker volumes for the PostgreSQL data directory and the user files directory. This guarantees that user data is not lost when the containers are restarted.
- Automate Database Migrations: Create an entrypoint script for the application container. This script should run database migrations (using a tool like Alembic) to update the database schema before the main application starts.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Projects
Status
No status