Isolate database credentials for agent tests

This commit is contained in:
2026-08-27 18:17:39 +02:00
parent 2df37b671b
commit efce42b967
8 changed files with 110 additions and 3 deletions

View File

@@ -23,6 +23,13 @@ services:
POLL_SECONDS: ${POLL_SECONDS:-60}
STALE_CLAIM_MINUTES: ${STALE_CLAIM_MINUTES:-90}
TEST_COMMANDS: ${TEST_COMMANDS:-composer install --no-interaction --prefer-dist;;php artisan test}
TEST_DB_HOST: ${TEST_DB_HOST:-host.docker.internal}
TEST_DB_PORT: ${TEST_DB_PORT:-33060}
TEST_DB_NAME: ${TEST_DB_NAME:-laravel_ai_chat_agent_test}
TEST_DB_USER: ${TEST_DB_USER:-lai_test_runner}
TEST_DB_PASSWORD: ${TEST_DB_PASSWORD:-agent_test_secret}
TEST_CUSTOMER_DB: ${TEST_CUSTOMER_DB:-customer_agent_test}
TEST_CONFIG_DB: ${TEST_CONFIG_DB:-cockpit_agent_test}
extra_hosts:
- host.docker.internal:host-gateway
volumes: