-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
60 lines (56 loc) · 1.65 KB
/
Copy pathdocker-compose.yml
File metadata and controls
60 lines (56 loc) · 1.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
services:
postgres:
image: postgres:16-alpine
container_name: aikon-postgres
environment:
POSTGRES_DB: ${POSTGRES_DB:-aikon}
POSTGRES_USER: ${POSTGRES_USER:-root}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-1234}
ports:
- "${POSTGRES_PORT:-5432}:5432"
volumes:
- postgres-data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}"]
interval: 10s
timeout: 5s
retries: 10
minio:
image: minio/minio:RELEASE.2024-01-28T22-35-53Z
container_name: aikon-minio
command: server /data --console-address ":9001"
environment:
MINIO_ROOT_USER: ${MINIO_ROOT_USER:-root}
MINIO_ROOT_PASSWORD: ${MINIO_ROOT_PASSWORD:-root1234}
ports:
- "${MINIO_API_PORT:-9000}:9000"
- "${MINIO_CONSOLE_PORT:-9001}:9001"
volumes:
- minio-data:/data
minio-init:
image: minio/mc:latest
container_name: aikon-minio-init
depends_on:
- minio
environment:
MINIO_ROOT_USER: ${MINIO_ROOT_USER:-root}
MINIO_ROOT_PASSWORD: ${MINIO_ROOT_PASSWORD:-root1234}
S3_BUCKET: ${S3_BUCKET:-aikon}
entrypoint: >
/bin/sh -c "
until mc alias set local http://minio:9000 $$MINIO_ROOT_USER $$MINIO_ROOT_PASSWORD; do sleep 2; done;
mc mb --ignore-existing local/$$S3_BUCKET;
mc anonymous set download local/$$S3_BUCKET;
exec tail -f /dev/null;
"
qdrant:
image: qdrant/qdrant:v1.18.2
container_name: aikon-qdrant
ports:
- "${QDRANT_PORT:-6333}:6333"
volumes:
- qdrant-data:/qdrant/storage
volumes:
postgres-data:
minio-data:
qdrant-data: