From e6bfdb29474bd70a25203533b764aff6b9711986 Mon Sep 17 00:00:00 2001 From: Mike Sul Date: Fri, 11 Oct 2024 18:22:44 +0200 Subject: [PATCH] docker: Share sota dir with dockerd container Share the sota dir with dockerd container so a user can bind mount local directory or file located within the compose app dir which is `/var/sota/compose-apps/`. For example: cat docker-compose.yml ``` ... volumes: - ./nginx.conf:/etc/nginx/nginx.conf:ro ... ``` Signed-off-by: Mike Sul --- docker/docker-compose.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 435794e..bac2353 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -7,6 +7,7 @@ services: volumes: - ${DOCKER_DATA_ROOT}:/var/lib/docker - docker-runtime:/var/run/docker + - ${SOTA_DIR}:/var/sota privileged: true sotactl: