Heroku: Have two running instances
This commit is contained in:
parent
1b885355fd
commit
a7a53dd6f7
3
Procfile
3
Procfile
|
@ -1 +1,2 @@
|
|||
connector-mango: ./heroku/run.sh
|
||||
connector-mango-1: ./heroku/run.sh CONFIG_FILE_1
|
||||
connector-mango-2: ./heroku/run.sh CONFIG_FILE_2
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
echo "$CONFIG_FILE" > config.toml
|
||||
# Write the contents of env variable named by $1
|
||||
printf '%s\n' "${!1}" > config.toml
|
||||
|
||||
echo "$TLS_CA" > ca.pem
|
||||
echo "$TLS_CLIENT" > client.pem
|
||||
|
||||
|
|
Loading…
Reference in New Issue