I tried everything I could find in these forums. I am trying to get https://hub.docker.com/r/timothyjmiller/cloudflare-ddns to run in Container Station.
But maybe it is because I am new to docker or because I am doing something totally wrong, but I do not seem to get the config.json into the running "app" (confused about the container/volume/image lingo as well, sorry)
My latest attempt was to make a config-file to "hard link" the config from qnap to the docker container, but it still doesnt work.
Code: Select all
version: "3.7"
services:
cloudflare-ddns:
image: timothyjmiller/cloudflare-ddns:latest
container_name: cloudflare-ddns-app
security_opt:
- no-new-privileges:true
network_mode: "host"
environment:
- PUID=1001
- PGID=100
volumes:
- /share/CACHEDEV1_DATA/container_data/cloudflare-ddns/config.json:/config.json
deploy:
resources:
limits:
cpus: '0.50'
memory: 64M
restart: unless-stopped
Also, maybe because this is docker image python based, I cannot open a shell/console inside this when it runs.
Please be gentle and point me to the right documentation, if this is a total newbie mistake. Maybe Container Station automatically creates some local (qnap ssh accessible) folder where I can find and configure the config.json?
Thanks
Leo