-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
61 lines (55 loc) · 1.92 KB
/
docker-compose.yaml
File metadata and controls
61 lines (55 loc) · 1.92 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
version: '3.4'
services:
weaviate:
image: semitechnologies/weaviate:1.24.4
ports:
- 8777:8080
restart: unless-stopped
volumes:
- ${WEAVIATE_STORAGE_PATH:-./storage/weaviate}:/var/lib/weaviate
environment:
PERSISTENCE_DATA_PATH: '/var/lib/weaviate'
AUTHENTICATION_ANONYMOUS_ACCESS_ENABLED: 'true'
DEFAULT_VECTORIZER_MODULE: 'none'
QUERY_DEFAULTS_LIMIT: 25
CLUSTER_HOSTNAME: 'node1'
DISABLE_TELEMETRY: 'true'
LIMIT_RESOURCES: 'true'
semantic-search:
image: ghcr.io/janeliascicomp/gpt-semantic-search-web:0.4.0
ports:
- 8501:8501
restart: unless-stopped
environment:
STREAMLIT_SERVER_FILE_WATCHER_TYPE: 'none'
STREAMLIT_SERVER_HEADLESS: 'true'
WEAVIATE_URL: 'http://weaviate:8080'
OPENAI_API_KEY:
SLACK_TOKEN:
nginx:
image: nginx
container_name: gpt-semantic-search_nginx
restart: unless-stopped
depends_on:
- semantic-search
ports:
- 443:443
volumes:
- ./docker/nginx.conf:/etc/nginx/nginx.conf:ro
- ./docker/include:/etc/nginx/conf
- ${CERT_DIR}:/certs:ro
- ${NGINX_CACHE_DIR}:/var/cache/nginx
slack-bot:
image: ghcr.io/janeliascicomp/gpt-semantic-search-slack-bot:0.1.6
restart: unless-stopped
environment:
WEAVIATE_URL: 'http://weaviate:8080'
OPENAI_API_KEY:
SLACK_BOT_TOKEN:
SLACK_APP_TOKEN:
SLACK_TOKEN:
depends_on:
- weaviate
# To push an update to the docker image, run the following command and fill in the blanks:
# docker buildx build --push --build-arg GIT_TAG=latest --progress=plain --platform linux/arm64,linux/amd64 --tag ghcr.io/janeliascicomp/gpt-semantic-search-web:latest -f docker/Dockerfile .
# docker buildx build --push --build-arg GIT_TAG=latest --progress=plain --platform linux/arm64,linux/amd64 --tag ghcr.io/janeliascicomp/gpt-semantic-search-slack-bot:latest -f docker/Dockerfile_slack .