-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
26 lines (24 loc) · 838 Bytes
/
docker-compose.yaml
File metadata and controls
26 lines (24 loc) · 838 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
services:
ray-head:
image: ml-apps:latest
ports:
- "8201:8201" ## dashboard port
- "8200:8200" ## serve port
- "20001:20001" ## client port
- "6380:6380" ## gcs port
# ray-client-server-port, dashboard-port and port(global control store port) can be customized by specifying in the params
# serve port can be customized by specifying port under http_options
command: bash -c "ray start --head --ray-client-server-port=20001 --dashboard-port=8201 --port=6380 --dashboard-host=0.0.0.0 --block"
networks:
- ray_net
ray-worker:
image: ml-apps:latest
depends_on:
- ray-head
command: bash -c "ray start --address ray-head:6380 && serve run config.yaml"
networks:
- ray_net
networks:
ray_net:
ipam:
driver: default