Skip to content

Commit 8d0c8f7

Browse files
fix: Use of legacy PilotLogsDB in docker-compose to keep it as it was
1 parent bcc565d commit 8d0c8f7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/CI/docker-compose.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,12 +277,15 @@ services:
277277
- DIRACX_SERVICE_AUTH_STATE_KEY=uSNPPtZ1EbC5np13zOwmWJ84Duix753Hejzk/u/MQE4=
278278
# Obtained with echo 'InsecureChangeMe' | base64 -d | openssl sha256
279279
- DIRACX_LEGACY_EXCHANGE_HASHED_API_KEY=07cddf6948d316ac9d186544dc3120c4c6697d8f994619665985c0a5bf76265a
280-
- 'DIRACX_OS_DB_PILOTLOGSDB={"hosts": "elastic:changeme@opensearch:9200", "use_ssl": false, "verify_certs": false}'
281280
- 'DIRACX_OS_DB_JOBPARAMETERSDB={"hosts": "elastic:changeme@opensearch:9200", "use_ssl": false, "verify_certs": false}'
282281
- DIRACX_SANDBOX_STORE_BUCKET_NAME=sandboxes
283282
- DIRACX_SANDBOX_STORE_AUTO_CREATE_BUCKET=true
284283
- 'DIRACX_SANDBOX_STORE_S3_CLIENT_KWARGS={"endpoint_url": "http://s3-direct:9090", "aws_access_key_id": "console", "aws_secret_access_key": "console123"}'
285284

285+
# Currently, we use a mysql DB for pilot logs. Later in DiracX we'll use opensearch.
286+
- 'DIRACX_OS_DB_PILOTLOGSDB={"sqlalchemy_dsn": "mysql+aiomysql://Dirac:Dirac@mysql/PilotLogsDB"}'
287+
# - 'DIRACX_OS_DB_PILOTLOGSDB={"hosts": "elastic:changeme@opensearch:9200", "use_ssl": false, "verify_certs": false}'
288+
286289
ports:
287290
- 8000:8000
288291
depends_on:

0 commit comments

Comments
 (0)