mirror of
https://github.com/BastilleBSD/templates.git
synced 2025-12-10 17:00:30 +01:00
* 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>
12 lines
341 B
Plaintext
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
|