-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-realtime.yaml
35 lines (34 loc) · 1.42 KB
/
docker-compose-realtime.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
34
35
# Copyright 2024 - Andrew Kwok Fai LUI and Dasun Gunasinghe
# Research Engineering Facility, Queensland University of Technology (QUT)
# Include Base/Default Packages
include:
- base-compose.yaml
- robot-arm-compose.yaml
# Define Project Specific Services Here
# The .env file can be updated to bring up a defined image for use with your project
services:
# ----- EXAMPLE IMPLEMENTATION --------
# Rename service name as required
robot-service:
# Rename the container name as required
container_name: ${ROBOT}_container
extends:
# DO NOT CHANGE THIS FILE
file: robot-arm-compose.yaml
# Update the extended service depending on the type of robot you need
# See .env
service: ${ROBOT}-${ROSVER}-${COMMANDER}
# Update the volume PATH and PACKAGE name as needed
# See .env
volumes:
- ${WORKSPACE_PATH}/${SCENE_PKG}:/home/qcr/project_ws/src/${SCENE_PKG}:rw
- ${WORKSPACE_PATH}/${CONFIG_PKG}:/home/qcr/project_ws/src/${CONFIG_PKG}:rw
- ${WORKSPACE_PATH}/${COMMANDER_PKG}:/home/qcr/project_ws/src/${COMMANDER_PKG}:rw
# Addition of Realtime Settings (as per: https://github.com/2b-t/docker-realtime)
cap_add:
- SYS_NICE
ulimits:
rtprio: 99
rttime: -1 # corresponds to 'unlimited'
memlock: 8428281856
network_mode: host