Use visible atc.env instead of hidden .env for configuration
This commit is contained in:
@@ -4,3 +4,4 @@ __pycache__/
|
||||
node_modules/
|
||||
dist/
|
||||
*.db
|
||||
atc.env
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
# Copy to atc.env and fill in secrets:
|
||||
# cp config/command-center/atc.env.example /opt/atc-agents/atc.env
|
||||
|
||||
S3_ENDPOINT=http://10.0.20.111:9020
|
||||
S3_ACCESS_KEY=object_admin1
|
||||
S3_SECRET_KEY=your-ecs-s3-secret-key
|
||||
S3_REGION=us-east-1
|
||||
|
||||
JUPYTER_TOKEN=choose-a-strong-token
|
||||
|
||||
GPU_URL=http://10.0.20.106:9000
|
||||
LLM_URL=http://10.0.20.106:8001/v1
|
||||
LLM_MODEL=gpt-4o
|
||||
LLM_API_KEY=sk-local
|
||||
|
||||
LAKEHOUSE_HOST=10.0.21.50
|
||||
AIRFLOW_URL=http://10.0.21.55:8080
|
||||
KAFKA_UI_URL=http://10.0.21.36:9000
|
||||
+9
-3
@@ -1,7 +1,13 @@
|
||||
#!/bin/bash
|
||||
# Deploy Command Center stack on VM304
|
||||
set -euo pipefail
|
||||
cd "$(dirname "$0")/.."
|
||||
[ -f .env ] || { echo "Create .env from config/command-center/.env.example"; exit 1; }
|
||||
docker compose --env-file .env up -d --build
|
||||
if [ ! -f atc.env ]; then
|
||||
echo "Missing atc.env — copy from config/command-center/atc.env.example"
|
||||
cp config/command-center/atc.env.example atc.env
|
||||
echo "Edit atc.env then re-run ./scripts/deploy.sh"
|
||||
exit 1
|
||||
fi
|
||||
ln -sf "$(pwd)/atc.env" .env
|
||||
docker compose --env-file atc.env up -d --build
|
||||
echo "OK — http://10.0.21.33/"
|
||||
echo "Env file: $(pwd)/atc.env"
|
||||
|
||||
Reference in New Issue
Block a user