Merge pull request #104 from moomerman/add-container-name-env-var

Add container name env var for containers
This commit is contained in:
David Heinemeier Hansson
2023-03-13 15:10:02 +01:00
committed by GitHub
5 changed files with 15 additions and 7 deletions

View File

@@ -222,6 +222,12 @@ volumes:
- "/local/path:/container/path"
```
### MRSK env variables
The following env variables are set when your container runs:
`MRSK_CONTAINER_NAME` : this contains the current container name and version
### Using different roles for servers
If your application uses separate hosts for running jobs or other roles beyond the default web running, you can specify these hosts in a dedicated role with a new entrypoint command like so: