Files
templates/misc/uptime-kuma/Bastillefile
Barry McCormick 11e0766184 Bootstrap cleanup (#4)
* README cleanup

* template migration

* convert percona to new bastillefile format

* convert gitlab to bastillefile format

* convert php to bastillefile format

---------

Co-authored-by: Barry McCormick <bmccormick@debianbeast.maildragon.com>
2023-10-08 11:48:01 -06:00

12 lines
341 B
Plaintext

ARG port=80
ARG version="1.22.0"
PKG npm-node14 git-lite
CMD npm install pm2 -g
CMD pm2 install pm2-logrotate
CMD pm2 startup
CMD git clone -b "${version}" https://github.com/louislam/uptime-kuma.git
CMD cp -R uptime-kuma/ .
CMD npm run setup
CMD pm2 start server/server.js --name uptime-kuma -- --port="${port}" --host=0.0.0.0
CMD pm2 save