From 92e6fda25b365712ca204136625e33ff3e4a77f3 Mon Sep 17 00:00:00 2001
From: Jan David Mol <mol@astron.nl>
Date: Wed, 6 Apr 2022 22:18:47 +0200
Subject: [PATCH] L2SS-744: Persist archived data

---
 docker-compose/archiver-timescale.yml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/docker-compose/archiver-timescale.yml b/docker-compose/archiver-timescale.yml
index a154b96d3..a0f3e02f2 100644
--- a/docker-compose/archiver-timescale.yml
+++ b/docker-compose/archiver-timescale.yml
@@ -1,5 +1,8 @@
 version: '2'
 
+volumes:
+  archiver-timescale-data: {}
+
 services:
   archiver-timescale:
     image: timescaledb
@@ -12,6 +15,8 @@ services:
       - "5432:5432/tcp"
     extra_hosts:
       - "host.docker.internal:host-gateway"
+    volumes:
+      - alerta-postgres-data:/var/lib/postgresql/data
     depends_on:
       - databaseds
     environment:
-- 
GitLab