Add setup for heroku

This commit is contained in:
Christian Kamm 2021-11-19 10:44:30 +01:00
parent b65815e4d4
commit 3912f6142f
2 changed files with 12 additions and 0 deletions

1
Procfile Normal file
View File

@ -0,0 +1 @@
connector-mango: ./heroku/run.sh

11
heroku/run.sh Executable file
View File

@ -0,0 +1,11 @@
#!/bin/bash
echo "$CONFIG_FILE" > config.toml
echo "$TLS_CA" > ca.pem
echo "$TLS_CLIENT" > client.pem
while true
do
target/release/solana-accountsdb-connector-mango config.toml
sleep 5
done