command_executor
command_executor
Server that execute shell command passed in request
Installation
git clone git@github.com:skojin/command_executor.git
docker build -t command_executor . && docker run --name command_executor --rm -p 5100:5000 -e SECRET=XXX -it command_executor
# OR
cp docker-compose.yml.sample docker-compose.yml
# set PORT and SERCRET enviroment variables in docker-compose.yml
docker-compose build && docker-compose create
docker-compose start
Usage
curl -s -X post -F "cmd=date" http://127.0.0.1:5100/SECRET
Contributors
- Sergey Kojin - creator and maintainer
Repository
command_executor
Owner
Statistic
- 1
- 0
- 0
- 0
- 1
- about 3 years ago
- January 15, 2019
License
MIT License
Links
Synced at
Sun, 17 Nov 2024 04:13:54 GMT
Languages