Skip to content
This repository has been archived by the owner on May 20, 2024. It is now read-only.

Commit

Permalink
Fix Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
azrod committed Dec 22, 2021
1 parent baf795e commit 169c895
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ UpdateIP is a automatic update of a DNS record based on the External IP address
### **From Docker Run**

```bash
docker run -itd -v "./config.yaml:config.yaml" ghcr.io/azrod/updateip:latest
docker run -itd -v "./config.yaml:/config/config.yaml" ghcr.io/azrod/updateip:latest
```

### **From Docker Compose**
Expand All @@ -20,7 +20,7 @@ services:
container_name: updateaip
image: ghcr.io/azrod/updateip:latest
volumes:
- ./config.yaml:config.yaml:ro
- ./config.yaml:/config/config.yaml:ro

```

Expand All @@ -30,7 +30,7 @@ services:
go mod tidy
go build

./updateip
PATH_CONFIG_DIRECTORY=$(pwd) ./updateip
```

# How to config
Expand All @@ -39,8 +39,14 @@ Create the **config.yaml** configuration file

```yaml
log:
level: debug // Available : trace debug info warn error fatal panic
humanize: true
level: debug # Available : trace debug info warn error fatal panic
humanize: true # Default: false

metrics:
enable: true # Default: false
port: 8080 # Default : 8080
host: 0.0.0.0 # Default: 0.0.0.0
path: /metrics # Default: /metrics

aws_account:
enable: true
Expand Down

0 comments on commit 169c895

Please sign in to comment.