-
Notifications
You must be signed in to change notification settings - Fork 0
/
temperatureManager.yml
41 lines (36 loc) · 1.67 KB
/
temperatureManager.yml
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
40
41
version: "3.7"
# the directory defined as ${ROOT_DIR}=/home/icub is basically the home directory of the default icub user
# which is the default user created with the user-based image.
# ROOT_DIR is an environmental variable defined in the .bashrc file of the user home directory
# if you are using this deployment files in your machine remember to choose one of the following options
# to run the containers correctly:
# - declare that env varibale when running the docker compose command and so then export the variable per each terminal opened
# - add the variable exporting in your .bashrc file so each time you open a terminal you have it declared
# - add it to the .bash_aliases file considering that that special file is looked for by the .bashrc
x-TemperatureManager: &TemperatureManager
image: ghcr.io/icub-tech-iit/docker-deployment-images/cd_superbuild-icubhead-withuser:master-unstable_sources
environment:
- YARP_FORWARD_LOG_ENABLE=1
- DISPLAY=${DISPLAY}
- QT_X11_NO_MITSHM=1
- XAUTHORITY=${ROOT_DIR}/.Xauthority
volumes:
- "${HOME}/.config/yarp:${ROOT_DIR}/.config/yarp"
- "${HOME}/workspace:${ROOT_DIR}/workspace"
- "/tmp/.X11-unix:/tmp/.X11-unix"
- "${XAUTHORITY}:${ROOT_DIR}/.Xauthority"
working_dir: ${ROOT_DIR}/workspace/motionControlModule
network_mode: "host"
services:
app:
<<: *TemperatureManager
restart: on-failure
command: ./build/TemperatureManager --from app/conf/config.ini
splitter:
<<: *TemperatureManager
restart: on-failure
command: yarp split /ergocub2S/upper_arm/stateExt:o
scope:
<<: *TemperatureManager
restart: on-failure
command: yarpscope --xml temperatureScopeUpperArm.xml