From b9599ed7ad26bc9fbcdadca15e07c03502a310de Mon Sep 17 00:00:00 2001 From: Alexander Kolotov Date: Thu, 27 Oct 2022 18:51:57 +0300 Subject: [PATCH] references to Heroku and Papertrail docs added --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 19b5486..0a25350 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,6 @@ 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 @@ -47,9 +46,12 @@ 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 ``` @@ -57,4 +59,6 @@ Is it possible to see configured drains for the app by: ``` heroku drains --app my-heroku-app -``` \ No newline at end of file +``` + +For more info refer to [the Papertrail documentation](https://www.papertrail.com/help/heroku/). \ No newline at end of file