mirror of
https://github.com/eliasstepanik/IonosDDNSUpdater.git
synced 2026-01-11 19:48:26 +00:00
Merge remote-tracking branch 'origin/master'
# Conflicts: # DDNSUpdater/Services/DDNSService.cs # docker-compose.yml
This commit is contained in:
commit
e6f7ba13b7
@ -30,12 +30,12 @@ To use the IonosDynamicDNSUpdater, follow these steps:
|
|||||||
### Running in a Docker container
|
### Running in a Docker container
|
||||||
|
|
||||||
1. Build the Docker image using `docker build -t ionosdynamicdnsupdater .`.
|
1. Build the Docker image using `docker build -t ionosdynamicdnsupdater .`.
|
||||||
2. Run the Docker container using `docker run -d ionosdynamicdnsupdater`.
|
2. Run the Docker container using `docker run -d -e API_KEY=<your_api_key> -e DOMAINS=<comma_separated_list_of_domains> ionosdynamicdnsupdater`.
|
||||||
|
|
||||||
### Using Docker Compose
|
### Using Docker Compose
|
||||||
|
|
||||||
1. Create an API token in Ionos.
|
1. Create an API token in Ionos.
|
||||||
2. Replace the placeholder values in `appsettings.json` with your Ionos API token and the hostname for the DNS record you want to update.
|
2. Replace the placeholder values in `docker-compose.yml` with your Ionos API token and the hostname for the DNS record you want to update.
|
||||||
3. Start the services using `docker-compose up -d`.
|
3. Start the services using `docker-compose up -d`.
|
||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
|
|||||||
@ -7,5 +7,5 @@ services:
|
|||||||
tty: true
|
tty: true
|
||||||
stdin_open: true
|
stdin_open: true
|
||||||
environment:
|
environment:
|
||||||
Domains_0: "*.test.de;Key"
|
API_Key: ""
|
||||||
Domains_1: "*.test.de;Key"
|
DOMAINS: "subdomain.domain.de,domain.de"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user