Installation on Heroku
Note
This is a Tyk Community Contribution.
Prerequisite
- Our Docker image - see Docker Pro Demo for more details.
Steps
- From the Heroku CLI perform the following (Where APPNAME is your app):
- heroku plugins:install heroku-container-registry
- heroku container:login
- docker tag tykio/tyk-hybrid-docker registry.heroku.com/APPNAME/web
- docker push registry.heroku.com/APPNAME/web
- You then need to set the following environment variables:
- APIKEY
- BINDSLUG: 1
- ORGID
- REDISHOST
- REDISPW
- RPORT
- SECRET
Note
This will only work with port 80 deployments, all other ports will be ignored.