forked from KW-ClassLog/ClassLog
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.local.yml
More file actions
46 lines (42 loc) · 863 Bytes
/
docker-compose.local.yml
File metadata and controls
46 lines (42 loc) · 863 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
services:
backend:
image: classlog-backend
build:
context: backend
dockerfile: Dockerfile
container_name: classlog-backend
ports:
- 8081:8081
env_file:
- backend/.env
depends_on:
redis:
condition: service_healthy
ai:
condition: service_started
networks:
- classlog-network
restart: unless-stopped
redis:
image: redis
container_name: classlog-redis
healthcheck:
test: [ "CMD", "redis-cli", "ping" ]
interval: 5s
retries: 10
networks:
- classlog-network
restart: unless-stopped
ai:
image: classlog/ai:v3.4
container_name: classlog-ai
ports:
- 8000:8000
networks:
- classlog-network
env_file:
- backend/.env
restart: unless-stopped
networks:
classlog-network:
driver: bridge