File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change 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" ;
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"
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"
8292 useHostStore = true ;
8393 restart = "always" ;
8494 } ;
95+
8596 cardano-node . service = {
8697 environment = { NETWORK = "testnet" ; } ;
8798 image = "inputoutput/cardano-node:1.33.0" ;
100111 retries = 3 ;
101112 } ;
102113 } ;
114+
103115 postgresql-db . service = {
104116 command = [ "-c" "stats_temp_directory=/tmp" ] ;
105117 environment = {
118130 volumes =
119131 [ "${ toString ./. } /data/postgres-data:/var/lib/postgresql/data" ] ;
120132 } ;
133+
121134 nft-marketplace-server . service = {
122135 image = "alpine" ;
123136 command = [
148161 restart = "always" ;
149162 volumes = [ "${ toString ./. } /config/tmp:/tmp" ] ;
150163 } ;
164+
151165 } ;
152166}
You can’t perform that action at this time.
0 commit comments