Giter VIP home page Giter VIP logo

droplet's Introduction

droplet

A simple utility to assist small organizations/groups in distributing a service across multiple machines

Note

Droplet is a very simple tool! It does not provide load-balancing or anything as such - it's designed for only one host to be active at a time.

Usage

droplet [CONFIG]

[CONFIG] is an optional path to your service's droplet.toml. If omitted, Droplet will search the current directory for it by default.

Configuration

Create a droplet.toml in your service's root directory:

dns_code = "YourCodeHere" # optional

[service]
exec = "./path/to/script"
args = [
    "--flag",
    "argument"
]

FreeDNS Dynamic DNS

You can provide a single domain name for your service, regardless of the public IP address of the current host - completely free!

This is possible by using FreeDNS and its Dynamic DNS feature.

Step 1

Register an account with FreeDNS: https://freedns.afraid.org

Step 2

Register a subdomain for your service: https://freedns.afraid.org/subdomain/

Step 3

Enable dynamic updates v2 for your subdomain: https://freedns.afraid.org/dynamic/v2/

Step 4

Copy your code from your Dynamic Update URL (e.g. http://sync.afraid.org/u/ThisIsYourCode/)

Then paste it into your service's droplet.toml:

dns_code = "YourCodeHere"

Done!

Droplet will now automatically update the IP address your subdomain points to whenever you start a new Droplet instance!

droplet's People

Contributors

saphirakai avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.