29 lines
613 B
YAML
29 lines
613 B
YAML
version: "3.8"
|
|
|
|
services:
|
|
device-mapping-manager:
|
|
image: public.ecr.aws/docker/library/docker
|
|
entrypoint: docker
|
|
command: |
|
|
run
|
|
-i
|
|
--rm
|
|
--privileged
|
|
--cgroupns=host
|
|
--pid=host
|
|
--userns=host
|
|
-v /sys:/host/sys
|
|
-v /var/run/docker.sock:/var/run/docker.sock
|
|
-v /dev:/dev
|
|
ghcr.io/allfro/allfro/device-mapping-manager:latest
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
deploy:
|
|
mode: global
|
|
labels:
|
|
- traefik.enable=false
|
|
resources:
|
|
limits:
|
|
cpus: '1'
|
|
memory: 128M
|