Skip to content

Commit 6d8fce3

Browse files
author
Aleksandr Penskoi
committed
Fix restart policy for arion-compose
1 parent bb4da7a commit 6d8fce3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

arion-compose.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ in {
5555
volumes = [
5656
"${toString ./.}/data/cardano-node/ipc:/ipc"
5757
];
58+
restart = "always";
5859
};
5960

6061
ogmios.service = {
@@ -73,6 +74,7 @@ in {
7374
"${toString ./.}/data/cardano-node/ipc:/ipc"
7475
"${toString ./.}/config:/config"
7576
];
77+
restart = "always";
7678
};
7779

7880
ogmios-datum-cache.service = {
@@ -110,6 +112,7 @@ in {
110112
start_period = "15m";
111113
retries = 3;
112114
};
115+
restart = "always";
113116
};
114117

115118
postgresql-db.service = {
@@ -129,6 +132,7 @@ in {
129132
};
130133
volumes =
131134
[ "${toString ./.}/data/postgres-data:/var/lib/postgresql/data" ];
135+
restart = "always";
132136
};
133137

134138
nft-marketplace-server.service = {

0 commit comments

Comments
 (0)