Commit 8c7844b4 authored by Evan Read's avatar Evan Read

Merge branch 'doc-add-note-about-console-access' into 'master'

Add a note about herokuish procfile exec

See merge request gitlab-org/gitlab!19686
parents c1bcbe19 c6e8cd6c
......@@ -698,6 +698,27 @@ workers:
terminationGracePeriodSeconds: 60
```
#### Running commands in the container
Applications built with [Auto Build](#auto-build) using Herokuish, the default
unless you have [a custom Dockerfile](#auto-build-using-a-dockerfile), may require
commands to be wrapped as follows:
```shell
/bin/herokuish procfile exec $COMMAND
```
This might be neccessary, for example, when:
- Attaching using `kubectl exec`.
- Using GitLab's [Web Terminal](../../ci/environments.md#web-terminals).
For example, to start a Rails console from the application root directory, run:
```sh
/bin/herokuish procfile exec bin/rails c
```
### Auto Monitoring
Once your application is deployed, Auto Monitoring makes it possible to monitor
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment