From 8b6a19d1c664692e07460be6913f5d191edc5b20 Mon Sep 17 00:00:00 2001 From: niten Date: Wed, 17 Jan 2024 17:11:33 -0800 Subject: [PATCH] Define volumes --- mastodon-container.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mastodon-container.nix b/mastodon-container.nix index cc61e7c..354faf4 100644 --- a/mastodon-container.nix +++ b/mastodon-container.nix @@ -80,6 +80,11 @@ in { virtualisation.arion.projects.mastodon.settings = let image = { pkgs, ... }: { project.name = "mastodon"; + docker-compose.volumes = { + postgres-data = { }; + redis-data = { }; + mastodon-data = { }; + }; services = { mastodon = { pkgs, ... }: { service = {