Spaces:
Running
Running
AILIXIR Bot commited on
Commit ·
898109e
1
Parent(s): a7b0760
Auto-sync: 450d09e658979f6689a36c6ebe2a300eb5ac3ada
Browse files- docker/entrypoint.sh +0 -13
docker/entrypoint.sh
CHANGED
|
@@ -3,19 +3,6 @@ set -e
|
|
| 3 |
|
| 4 |
cd /var/www/html
|
| 5 |
|
| 6 |
-
# Ensure AI integration routes and service URLs are set at runtime
|
| 7 |
-
# (the sync workflow writes these to .env, but .env is gitignored and never reaches the container)
|
| 8 |
-
cat >> /var/www/html/.env << 'EOF'
|
| 9 |
-
AI_INTEGRATION_ROUTES_ENABLED=true
|
| 10 |
-
ADMET_AI_URL=https://shdwRow-ailixir-admet.hf.space
|
| 11 |
-
CHEMICAL_AI_URL=https://RottenShadow-ailixir-chemical-rag.hf.space
|
| 12 |
-
DRUG_REPURPOSING_URL=https://RottenShadow-ailixir-drug-repurposing.hf.space
|
| 13 |
-
GENERATION_SERVICE_URL=https://shdwRow-ailixir-generation.hf.space
|
| 14 |
-
APP_URL=https://Ailixir-AI-Team-ailixir-api.hf.space
|
| 15 |
-
APP_DEBUG=true
|
| 16 |
-
QUEUE_CONNECTION=sync
|
| 17 |
-
EOF
|
| 18 |
-
|
| 19 |
php artisan config:clear --no-interaction 2>/dev/null || true
|
| 20 |
|
| 21 |
# Create SQLite database file if it doesn't exist
|
|
|
|
| 3 |
|
| 4 |
cd /var/www/html
|
| 5 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
php artisan config:clear --no-interaction 2>/dev/null || true
|
| 7 |
|
| 8 |
# Create SQLite database file if it doesn't exist
|