depends_on postgres -> db

This commit is contained in:
niten 2023-07-26 11:08:37 -07:00
parent 53362aa562
commit 49fde399ce
1 changed files with 3 additions and 3 deletions

View File

@ -218,7 +218,7 @@ in {
"CMD-SHELL"
"wget -q --spider --proxy=off localhost:3000/health || exit 1"
];
depends_on = [ "postgres" "redis" ];
depends_on = [ "db" "redis" ];
networks = [ "internal_network" "external_network" ];
user = mkUserMap cfg.uids.mastodon;
};
@ -231,7 +231,7 @@ in {
"CMD-SHELL"
"wget -q --spider --proxy=off localhost:4000/api/v1/streaming/health || exit 1"
];
depends_on = [ "postgres" "redis" ];
depends_on = [ "db" "redis" ];
networks = [ "internal_network" "external_network" ];
};
sidekiq.service = {
@ -242,7 +242,7 @@ in {
command = "bundle exec sidekiq";
healthcheck.test =
[ "CMD-SHELL" "ps aux | grep '[s]idekiq 6' || false" ];
depends_on = [ "postgres" "redis" ];
depends_on = [ "db" "redis" ];
networks = [ "internal_network" "external_network" ];
user = mkUserMap cfg.uids.mastodon;
};