diff --git a/README.md b/README.md index 03da293..a89610d 100644 --- a/README.md +++ b/README.md @@ -30,12 +30,12 @@ To use the IonosDynamicDNSUpdater, follow these steps: ### Running in a Docker container 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= -e DOMAINS= ionosdynamicdnsupdater`. ### Using Docker Compose 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`. ## Contributing diff --git a/docker-compose.yml b/docker-compose.yml index ac557c1..9ef41d9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,5 +7,5 @@ services: tty: true stdin_open: true environment: - Domains_0: "*.test.de;Key" - Domains_1: "*.test.de;Key" + API_Key: "" + DOMAINS: "subdomain.domain.de,domain.de"