Skip to content

Commit 19e41ac

Browse files
committed
Docker Compose: Move all services into the base Docker Compose file.
1 parent 7e0d832 commit 19e41ac

File tree

2 files changed

+62
-26
lines changed

2 files changed

+62
-26
lines changed

brev/docker-compose-base.yml

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
services:
2+
base:
3+
build:
4+
context: ../../..
5+
#dockerfile: *dockerfile
6+
args:
7+
GIT_BRANCH_NAME: ${GIT_BRANCH_NAME:-HEAD}
8+
#image: *image
9+
pull_policy: missing
10+
environment:
11+
- BREV_ENV_ID
12+
user: root
13+
#working_dir: *working-dir
14+
command: ["/update-git-branch.bash"]
15+
restart: "no"
16+
jupyter:
17+
depends_on:
18+
base:
19+
condition: service_completed_successfully
20+
privileged: true
21+
ulimits:
22+
memlock: -1
23+
stack: 67108864
24+
shm_size: 1g
25+
deploy:
26+
resources:
27+
reservations:
28+
devices:
29+
- driver: nvidia
30+
count: all
31+
capabilities: [gpu]
32+
ports:
33+
- "0.0.0.0:8888:8888" # JupyterLab
34+
environment:
35+
- BREV_ENV_ID
36+
user: root
37+
restart: "unless-stopped"
38+
nsight:
39+
image: nvcr.io/nvidia/devtools/nsight-streamer-nsys:2025.3.1
40+
depends_on:
41+
base:
42+
condition: service_completed_successfully
43+
pull_policy: missing
44+
ulimits:
45+
memlock: -1
46+
stack: 67108864
47+
shm_size: 1g
48+
deploy:
49+
resources:
50+
reservations:
51+
devices:
52+
- driver: nvidia
53+
count: all
54+
capabilities: [gpu]
55+
ports:
56+
- "0.0.0.0:8080:8080" # HTTP
57+
- "0.0.0.0:3478:3478" # TURN
58+
environment:
59+
- BREV_ENV_ID
60+
user: root
61+
entrypoint: ["/accelerated-computing-hub/brev/nsight-start.bash"]
62+
restart: "unless-stopped"

brev/nsight-docker-compose.yml

Lines changed: 0 additions & 26 deletions
This file was deleted.

0 commit comments

Comments
 (0)