Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/fizzygalacticus/update-digital-ocean-ip

Docker definition for periodically updating subdomain ip address on Digital Ocean
https://github.com/fizzygalacticus/update-digital-ocean-ip

Last synced: 9 days ago
JSON representation

Docker definition for periodically updating subdomain ip address on Digital Ocean

Awesome Lists containing this project

README

        

# update-digital-ocean-ip

Docker image for periodically updating subdomain ip address on Digital Ocean

## Usage

Using Docker

```bash
docker run -it $(docker build -q .) -e TOKEN= -e DOMAIN= -e RECORD_ID=
```

Using Docker Compose

There is a `docker-compose-example.yml` file that can be used as a template for your own `docker-compose.yml` file.

Once any necessary changes have been made, you can run the following command to start the service:

```bash
docker-compose up -d
```

## Useful commands

* **Retrieving list of subdomain records**: `curl -H "Authorization: Bearer $TOKEN" "https://api.digitalocean.com/v2/domains/$DOMAIN/records" | jq`