Skip to content

Commit

Permalink
docker: Share sota dir with dockerd container
Browse files Browse the repository at this point in the history
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/<app>`. For example:

cat docker-compose.yml
```
...
volumes:
   - ./nginx.conf:/etc/nginx/nginx.conf:ro
...

```

Signed-off-by: Mike Sul <mike.sul@foundries.io>
  • Loading branch information
mike-sul committed Oct 11, 2024
1 parent a6cd327 commit e6bfdb2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ services:
volumes:
- ${DOCKER_DATA_ROOT}:/var/lib/docker
- docker-runtime:/var/run/docker
- ${SOTA_DIR}:/var/sota
privileged: true

sotactl:
Expand Down

0 comments on commit e6bfdb2

Please sign in to comment.