Skip to content

Commit

Permalink
add dokcer compose and usage
Browse files Browse the repository at this point in the history
  • Loading branch information
rohit267 committed Jan 17, 2024
1 parent 9d6ed22 commit c942982
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Simple Node.js Service to check and update your Cloudfalre DNS records whenever

## Usage:
Make a config.json file with all info (in root dir of app).
```
```json
{
"auth":{
// Create a token with Edit DNS permission: https://developers.cloudflare.com/fundamentals/api/get-started/create-token/
Expand All @@ -26,3 +26,16 @@ Make a config.json file with all info (in root dir of app).
"internalInMinutes": 5
}
```
### Docker Compose
```yaml
version: '3'

services:
cloudfalre-updater:
image: ghcr.io/rohit267/cloudfalre-node-ddns:latest
container_name: cloudfalre-updater
restart: unless-stopped
volumes:
- ./config.json:/app/config.json

```
9 changes: 9 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
version: '3'

services:
cloudfalre-updater:
image: ghcr.io/rohit267/cloudfalre-node-ddns:latest
container_name: cloudfalre-updater
restart: unless-stopped
volumes:
- ./config.json:/app/config.json

0 comments on commit c942982

Please sign in to comment.