summaryrefslogtreecommitdiffstats
path: root/docker-compose.yml
diff options
context:
space:
mode:
authorBenjamin Drung <bdrung@debian.org>2023-06-10 08:55:33 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-06-10 09:21:49 +0000
commit88837172f69eabc408ae3945d82e0270b8e07440 (patch)
treed6b7fa06694f45d25f54f6ea9ded93c981e51f6f /docker-compose.yml
parentInitial commit. (diff)
downloadnvme-stas-88837172f69eabc408ae3945d82e0270b8e07440.tar.xz
nvme-stas-88837172f69eabc408ae3945d82e0270b8e07440.zip
Adding upstream version 2.2.1.upstream/2.2.1
Signed-off-by: Benjamin Drung <bdrung@debian.org>
Diffstat (limited to 'docker-compose.yml')
-rw-r--r--docker-compose.yml27
1 files changed, 27 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
new file mode 100644
index 0000000..4d5b384
--- /dev/null
+++ b/docker-compose.yml
@@ -0,0 +1,27 @@
+version: '3.7'
+
+x-stas: &default-stas
+ image: ghcr.io/linux-nvme/nvme-stas:main
+ build:
+ context: .
+ volumes:
+ - /run/dbus:/run/dbus
+ - /etc/nvme:/etc/nvme
+ privileged: true
+ network_mode: host
+
+services:
+ stafd:
+ <<: *default-stas
+ environment:
+ RUNTIME_DIRECTORY: /run/stafd
+ XDG_CACHE_HOME: /var/cache/stafd
+ PYTHONUNBUFFERED: 1
+ command: -u /usr/sbin/stafd
+ stacd:
+ <<: *default-stas
+ environment:
+ RUNTIME_DIRECTORY: /run/stacd
+ XDG_CACHE_HOME: /var/cache/stacd
+ PYTHONUNBUFFERED: 1
+ command: -u /usr/sbin/stacd