feat: Enable dynamic app environment variable configuration via workflow and docker-compose.
All checks were successful
Build & Deploy / 🔍 Prepare Environment (push) Successful in 9s
Build & Deploy / 🧪 QA (push) Successful in 1m27s
Build & Deploy / 🏗️ Build (push) Successful in 2m6s
Build & Deploy / 🚀 Deploy (push) Successful in 23s
Build & Deploy / 🔔 Notifications (push) Successful in 2s

This commit is contained in:
2026-02-06 17:26:28 +01:00
parent f6e774b5c9
commit 5b163d6d74
2 changed files with 4 additions and 3 deletions

View File

@@ -186,6 +186,7 @@ jobs:
# Generate Environment File
cat > .env.deploy << 'EOF'
ENV_FILE=${{ needs.prepare.outputs.env_file }}
IMAGE_TAG=${{ needs.prepare.outputs.image_tag }}
TRAEFIK_HOST=${{ needs.prepare.outputs.traefik_host }}
PROJECT_NAME=${{ needs.prepare.outputs.project_name }}

View File

@@ -37,9 +37,9 @@ services:
env_file:
- ${ENV_FILE:-.env}
environment:
PORT: 3000
PROJECT_NAME: "MB Grid Solutions"
PROJECT_COLOR: "#82ed20"
PORT: ${PORT:-3000}
PROJECT_NAME: ${PROJECT_NAME:-MB Grid Solutions}
PROJECT_COLOR: ${PROJECT_COLOR:-#82ed20}
labels:
- "traefik.enable=true"
- "traefik.http.services.${PROJECT_NAME}-gatekeeper.loadbalancer.server.port=3000"