generated from Cdaprod/minio-weaviate-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.minio-weaviate-python.yaml
64 lines (60 loc) · 1.38 KB
/
docker-compose.minio-weaviate-python.yaml
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
61
62
63
64
version: '3.8'
services:
minio:
container_name: minio_server
image: minio/minio
build:
context: ./minio
volumes:
- ./minio/data:/data
ports:
- "9000:9000"
- "9001:9001"
environment:
MINIO_ROOT_USER: minio
MINIO_ROOT_PASSWORD: minio123
command: server /data --console-address ":9001"
weaviate:
command:
- --host
- 0.0.0.0
- --port
- '8080'
- --scheme
- http
container_name: weaviate_server
image: semitechnologies/weaviate:latest
ports:
- 8080:8080
- 50051:50051
restart: on-failure:0
environment:
QUERY_DEFAULTS_LIMIT: 25
DEFAULT_VECTORIZER_MODULE: 'none'
AUTHENTICATION_ANONYMOUS_ACCESS_ENABLED: 'true'
PERSISTENCE_DATA_PATH: '/var/lib/weaviate'
ENABLE_MODULES: 'backup-s3'
BACKUP_S3_BUCKET: 'weaviate-backups'
BACKUP_S3_ENDPOINT: 'minio:9000'
BACKUP_S3_ACCESS_KEY_ID: 'minio'
BACKUP_S3_SECRET_ACCESS_KEY: 'minio123'
BACKUP_S3_USE_SSL: 'false'
CLUSTER_HOSTNAME: 'node1'
volumes:
- ./weaviate/data:/var/lib/weaviate
depends_on:
- minio
python-app:
image: cdaprod/python-app
container_name: python_server
build:
context: ./app
dockerfile: Dockerfile
ports:
- "8000:8000"
depends_on:
- weaviate
- minio
volumes:
minio-data:
driver: local