setting a project name for docker-compose in .env

This commit is contained in:
2026-01-02 10:21:29 +01:00
parent b34fb6b2d2
commit 7785956c86
3 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -18,4 +18,5 @@ MARIADB_USER=bamort
API_PORT=8180 API_PORT=8180
BASE_URL=https://frontend.domain.de BASE_URL=https://frontend.domain.de
TEMPLATES_DIR=./templates TEMPLATES_DIR=./templates
EXPORT_TEMP_DIR=./export_temp EXPORT_TEMP_DIR=./export_temp
COMPOSE_PROJECT_NAME=bamort
+1 -1
View File
@@ -21,6 +21,6 @@ echo "📦 Building and starting development containers..."
docker-compose -f docker-compose.dev.yml down docker-compose -f docker-compose.dev.yml down
# Baue und starte die Container # Baue und starte die Container
COMPOSE_PROJECT_NAME=bamort docker-compose -f docker-compose.dev.yml up --build -d docker-compose -f docker-compose.dev.yml up --build -d
echo "✅ Development environment started." echo "✅ Development environment started."
+1 -1
View File
@@ -17,6 +17,6 @@ echo "📦 Building and starting production containers..."
docker-compose -f docker-compose.yml down docker-compose -f docker-compose.yml down
# Baue und starte die Container # Baue und starte die Container
COMPOSE_PROJECT_NAME=bamort docker-compose -f docker-compose.yml up --build -d docker-compose -f docker-compose.yml up --build -d
echo "✅ Production environment started." echo "✅ Production environment started."