forked from nirui/sshwifty
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathheroku.yml
22 lines (21 loc) · 800 Bytes
/
heroku.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# This configuration will allow Sshwifty to run on Heroku via Dockerfile. You'll
# have to switch your Heroku "app" to Docker mode in order to deploy it. And
# after you've deployed the app, you must go to the "app" control panel and
# manually add an enviroment variable named `SSHWIFTY_LISTENPORT`, then set it's
# value to `SSHWIFTY_ENV_RENAMED:PORT` so Sshwifty can listen to the correct
# port.
#
# To enable Docker mode, see:
# https://devcenter.heroku.com/articles/build-docker-images-heroku-yml
#
# To add the enviroment variable (or "Config Vars"), go to:
# https://dashboard.heroku.com/apps/<"your_app_name">/settings
#
# You only need to to it once per Heroku app.
build:
config:
SSHWIFTY_LISTENPORT: SSHWIFTY_ENV_RENAMED:PORT
docker:
web: Dockerfile
run:
web: /sshwifty.sh