tmux console fixes

This commit is contained in:
Wolfgang Steuer
2019-11-22 13:38:32 +01:00
parent 65e4c307f9
commit 3ecece48ff
2 changed files with 9 additions and 1 deletions
+4 -1
View File
@@ -100,7 +100,10 @@ Use [mysqltuner.pl](http://mysqltuner.pl "MySQL tuner - Use it!") for recommenda
docker-compose up -d nn-tmux-ui
# check the monitor tmux
docker exec -it nn-tmux-ui bash
root@:/var/www/NNTmux# sudo -E -u notroot tmux attach
# attach
root@:/var/www/NNTmux# sudo -E -u notroot tmux attach -d
# stop
root@:/var/www/NNTmux# sudo -E -u notroot php artisan tmux-ui:stop --kill
```
### Support
+5
View File
@@ -49,6 +49,11 @@ services:
container_name: nn-tmux-ui
stdin_open: true
tty: true
environment:
MYSQL_ROOT_PASSWORD: ilmdvV8H
TZ: ${APP_TZ}
COLUMNS: "`tput cols`"
LINES: "`tput lines`"
command: sudo -E -u notroot php artisan tmux-ui:start
ports:
- 127.0.0.1:12345:12345