forked from fan-ziqi/robot_lab
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
36 lines (33 loc) · 997 Bytes
/
docker-compose.yaml
File metadata and controls
36 lines (33 loc) · 997 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
# Copyright (c) 2024-2026 Ziqi Fan
# SPDX-License-Identifier: Apache-2.0
x-default-robot-lab-environment: &default-robot-lab-environment
- OMNI_KIT_ALLOW_ROOT=1
x-default-robot-lab-deploy: &default-robot-lab-deploy
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [ gpu ]
services:
robot-lab:
env_file: .env.base
build:
context: ../
dockerfile: docker/Dockerfile
args:
- ISAACLAB_BASE_IMAGE_ARG=${ISAACLAB_BASE_IMAGE}
- DOCKER_ISAACLAB_EXTENSION_TEMPLATE_PATH_ARG=${DOCKER_ISAACLAB_EXTENSION_TEMPLATE_PATH}
image: robot-lab
container_name: robot-lab
volumes:
- type: bind
source: ../
target: ${DOCKER_ISAACLAB_EXTENSION_TEMPLATE_PATH}
network_mode: host
environment: *default-robot-lab-environment
deploy: *default-robot-lab-deploy
# This is the entrypoint for the container
entrypoint: bash
stdin_open: true
tty: true