Skip to content

Commit

Permalink
docker: add stas_data volume to fix last-known-config.pickle issue
Browse files Browse the repository at this point in the history
Fixes linux-nvme#252

Signed-off-by: Boris Glimcher <[email protected]>
  • Loading branch information
glimchb committed Oct 11, 2022
1 parent 004d9b1 commit 24fdc86
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,25 @@ x-stas: &default-stas
volumes:
- /run/dbus:/run/dbus
- /etc/nvme:/etc/nvme
- stas_data:/run/stas
privileged: true
network_mode: host

services:
stafd:
<<: *default-stas
environment:
RUNTIME_DIRECTORY: /run/stafd
RUNTIME_DIRECTORY: /run/stas
XDG_CACHE_HOME: /var/cache/stafd
PYTHONUNBUFFERED: 1
command: -u /usr/sbin/stafd
stacd:
<<: *default-stas
environment:
RUNTIME_DIRECTORY: /run/stacd
RUNTIME_DIRECTORY: /run/stas
XDG_CACHE_HOME: /var/cache/stacd
PYTHONUNBUFFERED: 1
command: -u /usr/sbin/stacd

volumes:
stas_data:

0 comments on commit 24fdc86

Please sign in to comment.