Skip to content

Commit dba3e39

Browse files
committed
fix: bring compose file for CI tests into parity with main env
1 parent 524db05 commit dba3e39

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

.envs/.ci/.django

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,6 @@ MINIO_DEFAULT_BUCKET=ami-ci
1616
MINIO_STORAGE_USE_HTTPS=False
1717
MINIO_TEST_BUCKET=ami-test-ci
1818
MINIO_BROWSER_REDIRECT_URL=http://minio:9001
19+
20+
DEFAULT_PROCESSING_SERVICE_NAME=Test Processing Service
21+
DEFAULT_PROCESSING_SERVICE_ENDPOINT=http://ml_backend_example:2000

docker-compose.ci.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ services:
1515
command: /start
1616

1717
postgres:
18-
image: postgres:13
18+
build:
19+
context: .
20+
dockerfile: ./compose/local/postgres/Dockerfile
1921
env_file:
2022
- ./.envs/.ci/.postgres
2123

@@ -32,6 +34,13 @@ services:
3234
command: minio server --console-address ":9001" /data
3335
env_file:
3436
- ./.envs/.ci/.django
37+
environment:
38+
- CONSOLE_SECURE_TLS_REDIRECT=off
39+
healthcheck:
40+
test: [ "CMD", "mc", "ready", "local" ]
41+
interval: 5s
42+
timeout: 5s
43+
retries: 5
3544

3645
minio-init:
3746
image: minio/mc:RELEASE.2025-03-12T17-29-24Z

0 commit comments

Comments
 (0)