-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
38 lines (38 loc) · 964 Bytes
/
docker-compose.yml
File metadata and controls
38 lines (38 loc) · 964 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
services:
fastapi:
build: ./server
container_name: onyx-ix-guide-api
volumes:
- ./server/models:/code/server/models
- ./logs:/logs
- temp-audio-data:/server/temp_audio
restart: unless-stopped
command: uv run python -m server.main
env_file:
- ./server/.env
environment:
- OLLAMA_BASE_URL=http://host.docker.internal:11434/v1
depends_on:
- redis
nginx:
image: nginx:alpine
container_name: onyx-ix-engine
restart: unless-stopped
ports:
- "80:80"
volumes:
- ./frontend:/usr/share/nginx/html
- ./nginx.conf:/etc/nginx/conf.d/default.conf:ro
- temp-audio-data:/usr/share/nginx/html/temp-audio
depends_on:
- fastapi
redis:
image: redis:7-alpine
container_name: onyx-ix-guide-redis
restart: unless-stopped
volumes:
- redis-data:/data
command: redis-server --requirepass 36951
volumes:
redis-data:
temp-audio-data: