Refactor Docker setup for environment flexibility and dev support

Moved environment variables to .env.template for better management and updated docker-compose files to use them. Added separate docker-compose.dev.yml for development, a Makefile for streamlined commands, and split backend Dockerfile into development and production stages. Updated .gitignore to include new changes.
This commit is contained in:
2025-02-27 13:23:14 +01:00
parent 03f4792232
commit d283f3a3ed
6 changed files with 162 additions and 56 deletions

5
.gitignore vendored
View File

@@ -262,6 +262,8 @@ celerybeat.pid
# Environments
.env
.env.*
!.env.template
.venv
env/
venv/
@@ -300,3 +302,6 @@ cython_debug/
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
.idea/
*.iml
# Docker volumes
postgres_data*/