adam-op 3 years ago
parent 716fca0ec3
commit fe6f48f83a
  1. 6
      docs/installation-and-operations/operation/control/README.md

@ -107,13 +107,13 @@ We can now run commands against that container
Run a bash shell in the container
```bash
docker exec -it $CIT bash
docker exec -it $CID bash
```
Get the current version of OpenProject
```bash
docker exec -it $CIT bash -c "RAILS_ENV=production rails version"
docker exec -it $CID bash -c "RAILS_ENV=production bundle exec rails version"
```
In case of using kubernetes, the command is a bit different
@ -127,7 +127,7 @@ kubectl exec -it {POD_ID} -- bash -c "RAILS_ENV=production bundle exec rails con
Launch an interactive console to directly interact with the underlying Ruby on Rails application:
```bash
docker exec -it $CIT bash -c "RAILS_ENV=production rails console"
docker exec -it $CID bash -c "RAILS_ENV=production bundle exec rails console"
```
## docker-compose based installation

Loading…
Cancel
Save