-
Notifications
You must be signed in to change notification settings - Fork 50
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
44 lines (44 loc) · 965 Bytes
/
docker-compose.yaml
File metadata and controls
44 lines (44 loc) · 965 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
version: '3'
services:
sonar:
build: ./sonar
depends_on:
- api
- ui
- proxy
api:
build: ./api
volumes:
- ./api:/api
- ./secret:/secret
environment:
# This ensures that errors are printed as they occur, which
# makes debugging easier.
- PYTHONUNBUFFERED=1
- LITELLM_LOG=WARNING
- CONFIG_PATH=run_configs/default.json
ports:
- 8000:8000
env_file:
- .env
ui:
build: ./ui
# We can't mount the entire UI directory, since JavaScript dependencies
# (`node_modules`) live at that location.
volumes:
- ./ui/src:/ui/src
- ./ui/public:/ui/public
- ./ui/package.json:/ui/package.json
- ./ui/yarn.lock:/ui/yarn.lock
- ./ui/tsconfig.json:/ui/tsconfig.json
environment:
- NODE_ENV=development
ports:
- 4000:3000
proxy:
build: ./proxy
ports:
- 8080:8080
depends_on:
- ui
- api