Skip to content

Commit

Permalink
references to Heroku and Papertrail docs added
Browse files Browse the repository at this point in the history
  • Loading branch information
akolotov committed Oct 27, 2022
1 parent 00667cc commit b9599ed
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,22 +39,26 @@ docker compose logs -f
Assuming that the app `my-heroku-app` is created on Heroku platform and Heroku CLI is installed on the local machine, the next steps can be executed to release the app:

```
heroku login
heroku container:login
docker login --username=_ --password=$(heroku auth:token) registry.heroku.com
docker tag ghcr.io/zkbob/bob-circulating-supply:main registry.heroku.com/my-heroku-app/web:latest
docker push registry.heroku.com/my-heroku-app/web:latest
heroku container:release -a my-heroku-app web
```

More info about the docker container deployment to Heroku can be found [here](https://devcenter.heroku.com/articles/container-registry-and-runtime#logging-in-to-the-registry).

An extra step can be done if you have a [papertrail](https://papertrailapp.com/) account configured and would like to forward logs from the Heroku app to the remote logs storage:

```
heroku login
heroku drains:add syslog+tls://logsXXX.papertrailapp.com:YYYY -a my-heroku-app
```

Is it possible to see configured drains for the app by:

```
heroku drains --app my-heroku-app
```
```

For more info refer to [the Papertrail documentation](https://www.papertrail.com/help/heroku/).

0 comments on commit b9599ed

Please sign in to comment.