scaleway-ddns (v1.9.0)
Simple Scaleway dynamic DNS service by API written in Crystal.
:rocket: Suggestions for new improvements are welcome in the issue tracker.
Installation and Usage
Docker
With docker run
command :
docker run -d \
-e SCW_SECRET_KEY="super-secret-from-scaleway" \
-e IDLE_MINUTES="10" \
-e DOMAIN_LIST="myfirstdomain.com,anotherone.com" \
d1ceward/scaleway-ddns:latest
With docker-compose file :
---
services:
scaleway_ddns:
image: d1ceward/scaleway-ddns:latest
restart: unless-stopped
environment:
- SCW_SECRET_KEY=super-secret-from-scaleway
- IDLE_MINUTES=10
- DOMAIN_LIST=myfirstdomain.com,anotherone.com
Linux
Download the executable file :
wget --no-verbose -O scaleway-ddns https://github.com/d1ceward/scaleway-ddns/releases/download/v1.9.0/scaleway-ddns-linux-amd64
Modify the executable's permissions :
chmod +x scaleway-ddns
Execution example :
scaleway-ddns run
Documentation available here : https://d1ceward.github.io/scaleway-ddns/
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/d1ceward/scaleway-ddns. By contributing you agree to abide by the Code of Merit.
- Fork it (https://github.com/d1ceward/scaleway-ddns/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Development building and running
- Install corresponding version of Crystal lang (cf:
.crystal-version
file) - Install Crystal dependencies with
shards install
- Build with
shards build
The newly created binary should be at bin/scaleway-ddns
Running tests
crystal spec
Contributors
- d1ceward - creator and maintainer