From 24fdc8625f3d2c18ceb0dfd4f1b371253745ba52 Mon Sep 17 00:00:00 2001 From: Boris Glimcher Date: Tue, 11 Oct 2022 23:54:13 +0300 Subject: [PATCH] docker: add stas_data volume to fix last-known-config.pickle issue Fixes #252 Signed-off-by: Boris Glimcher --- docker-compose.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 4d5b384..1c8dd1e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,6 +7,7 @@ x-stas: &default-stas volumes: - /run/dbus:/run/dbus - /etc/nvme:/etc/nvme + - stas_data:/run/stas privileged: true network_mode: host @@ -14,14 +15,17 @@ 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: \ No newline at end of file