Sign inSign up

jobscale/value-domain

By jobscale

Updated about 2 years ago

Image
0

100K+

jobscale/value-domain repository overview

value-domain dynamic DNS

run with container

git clone https://github.com/jobscale/value-domain.git
cd value-domain

setup and test

echo "module.exports = {
  domain: 'example.com',
  token: 'secret',
  hosts: ['@', '*'],
};" > app/.env.js
npm i
npm run lint
npm start

build and run

main() {
  docker build . -t local/value-domain:0.0.1
  docker run --rm -it local/value-domain:0.0.1
} && main
create cronjob
kubectl create cronjob value-domain --image local/value-domain:0.0.1 --schedule '0/7 * * * *'
kubectl create job --from=cronjob/value-domain value-domain-manual-$(date +'%Y%m%d-%H%M')

Tag summary

Content type

Image

Digest

sha256:869d84d6f

Size

71.3 MB

Last updated

about 2 years ago

docker pull jobscale/value-domain