Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/fizzygalacticus/update-digital-ocean-ip
- Owner: FizzyGalacticus
- License: mit
- Created: 2024-04-26T21:23:49.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2024-04-26T22:04:01.000Z (7 months ago)
- Last Synced: 2024-08-25T06:24:55.344Z (3 months ago)
- Language: Shell
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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`