Fixed IPv6 support in Docker compose file.

This commit is contained in:
timothymiller 2020-08-13 18:30:10 -04:00
commit bd15e6f117
2 changed files with 4 additions and 2 deletions

View File

@ -47,13 +47,15 @@ You can save yourself some trouble when hosting multiple domains pointing to the
## :whale: Deploy with Docker Compose ## :whale: Deploy with Docker Compose
Precompiled images are available via the official docker container [on DockerHub](https://hub.docker.com/r/timothyjmiller/cloudflare-ddns).
Modify the host file path of config.json inside the volumes section of docker-compose.yml. Modify the host file path of config.json inside the volumes section of docker-compose.yml.
```yml ```yml
version: "3.7" version: "3.7"
services: services:
cloudflare-ddns: cloudflare-ddns:
image: timothymiller/cloudflare-ddns:latest image: timothyjmiller/cloudflare-ddns:latest
container_name: cloudflare-ddns container_name: cloudflare-ddns
security_opt: security_opt:
- no-new-privileges:true - no-new-privileges:true

View File

@ -11,4 +11,4 @@ services:
- PGID=1000 - PGID=1000
volumes: volumes:
- /YOUR/PATH/HERE/config.json:/config.json - /YOUR/PATH/HERE/config.json:/config.json
restart: unless-stopped restart: unless-stopped