- change environment variables(NAME, SECRET, CHAT_ID) in docker-compose.yml
docker compose up
composer i
WARNING
Rule applies for all arguments!
If first symbol is hyphen(-) - it must be replaced with underscore(_)
e.g. if telegram_chat_id is -300400500600 then it should be entered as _300400500600php ./bin/console app:init <system_name> <telegram_bot_secret_key> <telegram_chat_id>
php ./bin/console app:run
- Open required chat in telegram
- Type one of the supported commands
Supported commands:
- stop - stops script execution
- run - runs command in detached mode(nohup), no print will be available
- reboot - restarts a system (may require privileges)
- output - runs command, result will come in response html file