forked from ixoworld/qiforge
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
48 lines (43 loc) · 918 Bytes
/
docker-compose.yml
File metadata and controls
48 lines (43 loc) · 918 Bytes
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
version: '3.8'
services:
app:
image: api:latest # whatever image you built
expose:
- '5678'
ports:
- '5678:5678'
env_file:
- apps/app/.env
environment:
- CHROMA_URL=http://chroma:8000
- REDIS_URL=redis://redis:6379
volumes:
- ./apps/app/matrix-storage:/app/matrix-storage
redis:
image: redis:alpine
container_name: ixo-redis
ports:
- '6379:6379'
volumes:
- redis-data:/data
command: redis-server --appendonly yes
redis-insight:
image: redis/redisinsight:latest
container_name: ixo-redis-insight
ports:
- '8001:8001'
volumes:
- redis-data:/db
environment:
- REDIS_HOST=redis
nginx:
image: nginx:alpine
container_name: ixo-nginx
ports:
- '5678:80'
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf:ro
depends_on:
- app
volumes:
redis-data: