Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Demonstrating Data to Knowledge Pipelines
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Leon Michel Gorißen
Demonstrating Data to Knowledge Pipelines
Commits
4f786262
Commit
4f786262
authored
11 months ago
by
Leon Michel Gorißen
Browse files
Options
Downloads
Patches
Plain Diff
docker compose according to last commit
parent
29506d0e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docker-compose.yaml
+101
-100
101 additions, 100 deletions
docker-compose.yaml
with
101 additions
and
100 deletions
docker-compose.yaml
+
101
−
100
View file @
4f786262
services
:
#
###########################frankalockunlock#############################
#
frankalockunlock:
#
build:
#
context: .
#
dockerfile: ./franka_lock_unlock/Dockerfile.frankalockunlock
#
environment:
#
- FRANKA_PASSWORD=${FRANKA_PASSWORD}
#
stop_grace_period: 1m
#
deploy:
#
resources:
#
limits:
#
cpus: '2' # Limit to half a CPU
#
memory: 100M # Limit to 256 megabytes
#
reservations:
#
cpus: '1' # Reserve a quarter of a CPU
#
memory: 50M # Reserve 128 megabytes
#
container_name: frankalockunlock # Sets a custom name for the container
#
stdin_open: true # Keeps the container's standard input open (similar to 'docker run -i')
#
tty: true # Allocates a pseudo-TTY (like 'docker run -t'), useful for interactive shells
#
network_mode: host
#
# network_mode: pandavlan # Uses the host's network stack, not creating a separate network namespace
#
privileged: true
###########################frankalockunlock#############################
frankalockunlock
:
build
:
context
:
.
dockerfile
:
./franka_lock_unlock/Dockerfile.frankalockunlock
environment
:
-
FRANKA_PASSWORD=${FRANKA_PASSWORD}
stop_grace_period
:
1m
deploy
:
resources
:
limits
:
cpus
:
'
2'
# Limit to half a CPU
memory
:
100M
# Limit to 256 megabytes
reservations
:
cpus
:
'
1'
# Reserve a quarter of a CPU
memory
:
50M
# Reserve 128 megabytes
container_name
:
frankalockunlock
# Sets a custom name for the container
stdin_open
:
true
# Keeps the container's standard input open (similar to 'docker run -i')
tty
:
true
# Allocates a pseudo-TTY (like 'docker run -t'), useful for interactive shells
network_mode
:
host
# network_mode: pandavlan # Uses the host's network stack, not creating a separate network namespace
privileged
:
true
#
############################ros#########################################
#
ros:
#
build:
#
context: . # Sets the build context to the catkin_ws directory
#
dockerfile: ./catkin_ws/Dockerfile.ros # Specifies the Dockerfile to use for building the image
#
stop_grace_period: 30s
#
deploy:
#
resources:
#
limits:
#
cpus: '12' # Limit to half a CPU
#
memory: 8G # Limit to 256 megabytes
#
reservations:
#
cpus: '8' # Reserve a quarter of a CPU
#
memory: 6G # Reserve 128 megabytes
#
container_name: ros # Sets a custom name for the container
#
stdin_open: true # Keeps the container's standard input open (similar to 'docker run -i')
#
tty: true # Allocates a pseudo-TTY (like 'docker run -t'), useful for interactive shells
#
#command: /bin/bash # Overrides the default command to start an interactive bash shell
#
cap_add:
#
- SYS_NICE # Grants the container the CAP_SYS_NICE capability for priority management
#
ulimits:
#
rtprio: 99 # Sets the realtime priority limit
#
rttime: -1 # Sets the realtime CPU time limit to unlimited
#
memlock: 8428281856 # Sets the maximum locked-in-memory address space (in bytes)
#
network_mode: host
#
# network_mode: pandavlan # Uses the host's network stack, not creating a separate network namespace
#
privileged: true # Grants the container extended privileges, similar to running as root on the host
#
volumes:
#
- "/tmp/.X11-unix:/tmp/.X11-unix"
#
environment:
#
- DISPLAY=unix${DISPLAY}
############################ros#########################################
ros
:
build
:
context
:
.
# Sets the build context to the catkin_ws directory
dockerfile
:
./catkin_ws/Dockerfile.ros
# Specifies the Dockerfile to use for building the image
stop_grace_period
:
30s
deploy
:
resources
:
limits
:
cpus
:
'
12'
# Limit to half a CPU
memory
:
8G
# Limit to 256 megabytes
reservations
:
cpus
:
'
8'
# Reserve a quarter of a CPU
memory
:
6G
# Reserve 128 megabytes
container_name
:
ros
# Sets a custom name for the container
stdin_open
:
true
# Keeps the container's standard input open (similar to 'docker run -i')
tty
:
true
# Allocates a pseudo-TTY (like 'docker run -t'), useful for interactive shells
#command: /bin/bash # Overrides the default command to start an interactive bash shell
cap_add
:
-
SYS_NICE
# Grants the container the CAP_SYS_NICE capability for priority management
ulimits
:
rtprio
:
99
# Sets the realtime priority limit
rttime
:
-1
# Sets the realtime CPU time limit to unlimited
memlock
:
8428281856
# Sets the maximum locked-in-memory address space (in bytes)
network_mode
:
host
# network_mode: pandavlan # Uses the host's network stack, not creating a separate network namespace
privileged
:
true
# Grants the container extended privileges, similar to running as root on the host
volumes
:
-
"
/tmp/.X11-unix:/tmp/.X11-unix"
environment
:
-
DISPLAY=unix${DISPLAY}
#
###########################coscine######################################
#
coscine:
#
build:
#
context: . # Sets the build context to the current directory
#
dockerfile: ./coscine_watchdog/Dockerfile.coscine # Specifies the Dockerfile to use for building the image
#
environment:
#
- COSCINE_API_TOKEN=${COSCINE_API_TOKEN}
#
deploy:
#
resources:
#
limits:
#
cpus: '2' # Limit to half a CPU
#
memory: 2G # Limit to 256 megabytes
#
reservations:
#
cpus: '1' # Reserve a quarter of a CPU
#
memory: 1G # Reserve 128 megabytes
#
container_name: coscine # Sets a custom name for the container
#
stdin_open: true # Keeps the container's standard input open (similar to 'docker run -i')
#
tty: true # Allocates a pseudo-TTY (like 'docker run -t'), useful for interactive shells
#
#command: /bin/bash # Overrides the default command to start an interactive bash shell
#
network_mode: host
#
# network_mode: pandavlan # Uses the host's network stack, not creating a separate network namespace
###########################coscine######################################
coscine
:
build
:
context
:
.
# Sets the build context to the current directory
dockerfile
:
./coscine_watchdog/Dockerfile.coscine
# Specifies the Dockerfile to use for building the image
environment
:
-
COSCINE_API_TOKEN=${COSCINE_API_TOKEN}
deploy
:
resources
:
limits
:
cpus
:
'
2'
# Limit to half a CPU
memory
:
2G
# Limit to 256 megabytes
reservations
:
cpus
:
'
1'
# Reserve a quarter of a CPU
memory
:
1G
# Reserve 128 megabytes
container_name
:
coscine
# Sets a custom name for the container
stdin_open
:
true
# Keeps the container's standard input open (similar to 'docker run -i')
tty
:
true
# Allocates a pseudo-TTY (like 'docker run -t'), useful for interactive shells
#command: /bin/bash # Overrides the default command to start an interactive bash shell
network_mode
:
host
# network_mode: pandavlan # Uses the host's network stack, not creating a separate network namespace
#########################dynamics_learning##############################
dynamics_learning
:
build
:
context
:
.
dockerfile
:
./dynamics_learning/Dockerfile.dynamics_learning
deploy
:
resources
:
reservations
:
devices
:
-
capabilities
:
[
gpu
]
cpus
:
'
20'
memory
:
60G
ipc
:
host
ulimits
:
memlock
:
soft
:
-1
hard
:
-1
stack
:
soft
:
67108864
hard
:
67108864
container_name
:
dynamics_learning
# Sets a custom name for the container
stdin_open
:
true
# Keeps the container's standard input open (similar to 'docker run -i')
tty
:
true
# Allocates a pseudo-TTY (like 'docker run -t'), useful for interactive shells
network_mode
:
host
volumes
:
-
/home/lgorissen/git/franka_wwl_demonstrator:/app
\ No newline at end of file
##########################dynamics_learning##############################
# dynamics_learning:
# build:
# context: .
# dockerfile: ./dynamics_learning/Dockerfile.dynamics_learning
# deploy:
# resources:
# reservations:
# devices:
# - capabilities: [gpu]
# cpus: '20'
# memory: 60G
# ipc: host
# ulimits:
# memlock:
# soft: -1
# hard: -1
# stack:
# soft: 67108864
# hard: 67108864
# container_name: dynamics_learning # Sets a custom name for the container
# stdin_open: true # Keeps the container's standard input open (similar to 'docker run -i')
# tty: true # Allocates a pseudo-TTY (like 'docker run -t'), useful for interactive shells
# network_mode: host
# volumes:
# - /home/lgorissen/git/franka_wwl_demonstrator:/app
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment