Define volumes

This commit is contained in:
niten 2024-01-17 17:11:33 -08:00
parent e528d17e5e
commit 8b6a19d1c6
1 changed files with 5 additions and 0 deletions

View File

@ -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 = {