Arion: move ttrss db to services scope

This commit is contained in:
GHOSCHT 2024-03-15 21:33:45 +01:00
parent 3ea35b67ae
commit faa9747d05
Signed by: ghoscht
GPG key ID: 2C2C1C62A5388E82

View file

@ -28,18 +28,18 @@
"dmz" "dmz"
]; ];
}; };
}; db.service = {
db.service = { image = "postgres:13-alpine";
image = "postgres:13-alpine"; volumes = [
volumes = [ "/home/ghoscht/.docker/feed/ttrss_db:/var/lib/postgresql/data"
"/home/ghoscht/.docker/feed/ttrss_db:/var/lib/postgresql/data" ];
]; env_file = [
env_file = [ "/home/ghoscht/.docker/feed/ttrss.env"
"/home/ghoscht/.docker/feed/ttrss.env" ];
]; restart = "always";
restart = "always"; networks = [
networks = [ "dmz"
"dmz" ];
]; };
}; };
} }