-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
48 lines (45 loc) · 1.16 KB
/
Copy pathdocker-compose.yml
File metadata and controls
48 lines (45 loc) · 1.16 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
services:
postgres:
container_name: aipp-postgres
image: pgvector/pgvector:pg16
environment:
POSTGRES_USER: ${POSTGRES_USER:-persona_app}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-persona_dev_password}
POSTGRES_DB: ${POSTGRES_DB:-persona_platform}
ports:
- "5434:5432"
volumes:
- aipp_postgres_data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER:-persona_app}"]
interval: 5s
timeout: 5s
retries: 5
redis:
container_name: aipp-redis
image: redis:7-alpine
ports:
- "6381:6379"
volumes:
- aipp_redis_data:/data
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 5s
timeout: 5s
retries: 5
minio:
container_name: aipp-minio
image: minio/minio:latest
command: server /data --console-address ":9001"
environment:
MINIO_ROOT_USER: ${MINIO_ACCESS_KEY:-minioadmin}
MINIO_ROOT_PASSWORD: ${MINIO_SECRET_KEY:-minioadmin}
ports:
- "9200:9000"
- "9201:9001"
volumes:
- aipp_minio_data:/data
volumes:
aipp_postgres_data:
aipp_redis_data:
aipp_minio_data: