fmartinou / whats-up-docker

What's up Docker ( aka WUD ) gets you notified when a new version of your Docker Container is available.
https://fmartinou.github.io/whats-up-docker
MIT License
921 stars 29 forks source link

WUD doesnt restart docker compose container #377

Closed rchekhina closed 3 months ago

rchekhina commented 3 months ago

HI,

I have configured wud to update one container with the following configuration:

WUD:

version: '3'

services:
  whatsupdocker:
    image: fmartinou/whats-up-docker:latest
    labels:
      - wud.watch=false
    environment:
      - WUD_REGISTRY_CUSTOM_URL=https://my-registry.com
      - WUD_REGISTRY_CUSTOM_AUTH=xxxxxxxxxxxxxxxxxxxxxxxxxx
      - WUD_WATCHER_LOCAL_CRON=* * * * *
      - WUD_LOG_LEVEL=debug
      - WUD_TRIGGER_DOCKERCOMPOSE_EXAMPLE_FILE=/etc/example/docker-compose.yml
    volumes:
    - /example/docker-compose.yml:/etc/example/docker-compose.yml
    - /var/run/docker.sock:/var/run/docker.sock
    ports:
      - "3000:3000"

CONTAINER:

version: "3"
services:
  example:
    image: my-registry.com/example:30
    ports:
      - "80:80"
    labels:
      - wud.watch=true
      - wud.tag.include=^\d+$$

On the wud log I see that there is a container update and wud change the image tag from 30 to 31 on the docker-compose file but didnt restart it.

Can you help me please ?

fmartinou commented 3 months ago

Hi,

Can you paste here the full debug log, please?

rchekhina commented 3 months ago

HI,

I have resolved the issue. I was using this env WUD_REGISTRY_CUSTOM_AUTH and wud was able to check the images but not pulling it. I have changed this env by WUD_REGISTRY_CUSTOM_LOGIN and WUD_REGISTRY_CUSTOM_PASSWORD and now its working fine.

Best regards.

On Thu, Apr 4, 2024 at 2:38 PM fmartinou @.***> wrote:

Hi,

Can you paste here the full debug log, please?

— Reply to this email directly, view it on GitHub https://github.com/fmartinou/whats-up-docker/issues/377#issuecomment-2037086735, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASWWRPASNG5U63QYDD5BJILY3VCVXAVCNFSM6AAAAABFW2SJ2WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMZXGA4DMNZTGU . You are receiving this because you authored the thread.Message ID: @.***>

-- Reynald CHEKHINA SA, Square1

*e: @. @.>* Company Registration Number: 528714 VAT number IE3178050PH