forked from redis-developer/gcp-redis-llm-stack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
45 lines (43 loc) · 945 Bytes
/
docker-compose.yml
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
version: "3.9"
services:
redis:
image: redis/redis-stack:latest
ports:
- "6379:6379"
- "8001:8001"
volumes:
- redis_data:/data
healthcheck:
test: ["CMD", "redis-cli", "-h", "localhost", "-p", "6379", "ping"]
interval: 2s
timeout: 1m30s
retries: 5
start_period: 5s
chatbot:
container_name: streamlit
build:
context: ./
volumes:
- ./app/:/app
ports:
- "8080:8080"
env_file:
- .env
environment:
- GOOGLE_APPLICATION_CREDENTIALS=/app/gcp_credentials.json
depends_on:
redis:
condition: service_healthy
# jupyter:
# image: jupyter/minimal-notebook:latest
# container_name: jupyter
# volumes:
# - ./:/home/jovyan/
# ports:
# - "8888:8888"
# depends_on:
# - "redis"
# environment:
# JUPYTER_ENABLE_LAB: "yes"
volumes:
redis_data: