Skip to content

Commit 167f300

Browse files
author
Aleksandr Penskoi
committed
Fix CTL initialization
1 parent 514a0bf commit 167f300

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

arion-compose.nix

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ in {
1111
# NOTE: still can't remember it...
1212
# ports = [ "host:container" ]
1313
config.services = {
14+
1415
nft-marketplace.service = {
1516
depends_on = {
1617
nft-marketplace-server.condition = "service_healthy";
@@ -42,12 +43,20 @@ in {
4243
};
4344
useHostStore = true;
4445
};
46+
4547
cardano-transaction-lib-server.service = {
4648
command =
47-
[ "${cardano-transaction-lib-server}/bin/ctl-server" ];
49+
[ "${cardano-transaction-lib-server}/bin/ctl-server"
50+
"--node-socket" "/ipc/node.socket"
51+
"--network-id" "1097911063"
52+
];
4853
ports = [ "8081:8081" ];
4954
useHostStore = true;
55+
volumes = [
56+
"${toString ./.}/data/cardano-node/ipc:/ipc"
57+
];
5058
};
59+
5160
ogmios.service = {
5261
command = [
5362
"--host"
@@ -65,6 +74,7 @@ in {
6574
"${toString ./.}/config:/config"
6675
];
6776
};
77+
6878
ogmios-datum-cache.service = {
6979
command = [ "${ogmios-datum-cache}/bin/ogmios-datum-cache"
7080
"--db-connection" "host=postgresql-db port=5432 user=seabug dbname=seabug password=seabug"
@@ -82,6 +92,7 @@ in {
8292
useHostStore = true;
8393
restart = "always";
8494
};
95+
8596
cardano-node.service = {
8697
environment = { NETWORK = "testnet"; };
8798
image = "inputoutput/cardano-node:1.33.0";
@@ -100,6 +111,7 @@ in {
100111
retries = 3;
101112
};
102113
};
114+
103115
postgresql-db.service = {
104116
command = [ "-c" "stats_temp_directory=/tmp" ];
105117
environment = {
@@ -118,6 +130,7 @@ in {
118130
volumes =
119131
[ "${toString ./.}/data/postgres-data:/var/lib/postgresql/data" ];
120132
};
133+
121134
nft-marketplace-server.service = {
122135
image = "alpine";
123136
command = [
@@ -148,5 +161,6 @@ in {
148161
restart = "always";
149162
volumes = [ "${toString ./.}/config/tmp:/tmp" ];
150163
};
164+
151165
};
152166
}

0 commit comments

Comments
 (0)