-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
49 lines (44 loc) · 1016 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
46
47
48
49
version: '3'
services:
raven-rwkv-service-frontend:
build:
context: .
dockerfile: Dockerfile
command: python obsidian_serve.py serve --host=0.0.0.0 --port 8080
ports:
- 8081:8080
networks:
- my_network
volumes:
- ./compose.models.toml:/home/user/app/models.toml
raven-rwkv-service-backend:
build:
context: .
dockerfile: Dockerfile
environment:
- RAY_ADDRESS=ray://ray_server:10001
command: python -m simple_rwkv backend.host=0.0.0.0 use_ray=true
networks:
- my_network
depends_on:
- model_server
ray_server:
build:
context: .
dockerfile: Dockerfile
command: ray start --head --block
networks:
- my_network
model_server:
build:
context: .
dockerfile: Dockerfile
command: python -m simple_rwkv.ray_server
environment:
- RAY_ADDRESS=ray://ray_server:10001
networks:
- my_network
depends_on:
- ray_server
networks:
my_network: