-
Notifications
You must be signed in to change notification settings - Fork 49
/
docker-compose.yaml
33 lines (31 loc) · 1004 Bytes
/
docker-compose.yaml
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
x-default-isaac-lab-template-environment: &default-isaac-lab-template-environment
- OMNI_KIT_ALLOW_ROOT=1
x-default-isaac-lab-template-deploy: &default-isaac-lab-template-deploy
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [ gpu ]
services:
isaac-lab-template:
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: isaac-lab-template
container_name: isaac-lab-template
volumes:
- type: bind
source: ../
target: ${DOCKER_ISAACLAB_EXTENSION_TEMPLATE_PATH}
network_mode: host
environment: *default-isaac-lab-template-environment
deploy: *default-isaac-lab-template-deploy
# This is the entrypoint for the container
entrypoint: bash
stdin_open: true
tty: true