🍬Pull docker image from AliYun docker registry and Run!
- install node.js and pm2 globally (it's easy 😊)
git clone https://github.com/Shino161/aliyun-docker-webhook.git
&&cd aliyun-docker-webhook
- modify the pm2.config.json, just modify
env
option
"env": {
"DOCKER_EXPOSE":"80:80",
"LISTEN_PORT": "listen_port",
"PASSWORD": "password",
"USERNAME": "username"
}
- input ur aliYun docker registered username and password.
- If u dont have Nginx to proxy request, u can set port to 80.For example
"env": {
"DOCKER_EXPOSE":"80:80",
"LISTEN_PORT": "80",
"PASSWORD": "123456",
"USERNAME": "aliyun"
}
- run
npm run start
, it's done
📧If you have any questions, u can submit any ideas as GitHub issues.