-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.dev.yml
More file actions
39 lines (38 loc) · 919 Bytes
/
compose.dev.yml
File metadata and controls
39 lines (38 loc) · 919 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
services:
server:
container_name: forecastbot_server
image: rapidsai/rapidsai:cuda11.8-runtime-ubuntu22.04-py3.10
entrypoint: /bin/sh ./entrypoint-dev.sh
working_dir: /server
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]
env_file:
- path: .env
required: true
ports:
- "8000:8000"
environment:
- NVIDIA_VISIBLE_DEVICES=all
- NVIDIA_DRIVER_CAPABILITIES=compute,utility
- ENV=development
volumes:
- ./server:/server/
client:
container_name: forecastbot_client
image: python:3.10-slim
entrypoint: /bin/sh ./entrypoint-dev.sh
working_dir: /client
env_file:
- path: .env
required: true
ports:
- "8501:8501"
environment:
- ENV=development
volumes:
- ./client:/client/