Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is the best way to upgrade an existing Planka installation on Docker ? #345

Open
tikok974 opened this issue Nov 25, 2022 · 3 comments

Comments

@tikok974
Copy link

Hello everybody,

I am looking for the right way to update my Planka installation following the last update released a few days ago.
Could you please tell me the right way to do it?

Thank you

@ghost
Copy link

ghost commented Nov 25, 2022

Hey,
I've been using Watchtower to keep my docker images (planka included) updated.
So far no problems.

@timshannon
Copy link

@tikok974 Not sure what issue you are specifically running into, but I know if you were running an older version there were issues with database migrations that you need to work around (#139), also I just noticed that I was unable to update the image I was using in my compose file, and I now see that the recommended image in the docker-compose example is ghcr.io/plankanban/planka:latest.

@tikok974
Copy link
Author

tikok974 commented Dec 1, 2022

Hi everybody,

Thanks for your answers.
I use Watchtower as @ghost suggested me.
I configured the label support ("com.centurylinklabs.watchtower.enable=true") in the Watchtower docker-compose file and added environment variable "WATCHTOWER_LABEL_ENABLE=true" on each container I want to update.
Here is my conf:

[code]
version: '3'

services:
watchtower:
container_name: my-watchtower
image: containrrr/watchtower
restart: unless-stopped
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /etc/localtime:/etc/localtime:ro
environment:
- WATCHTOWER_CLEANUP=true
- WATCHTOWER_LABEL_ENABLE=true
- WATCHTOWER_INCLUDE_RESTARTING=true
labels:
- "com.centurylinklabs.watchtower.enable=true"
networks:
watchtower-tier:
ipv4_address: 192.168.7.2

networks:
watchtower-tier:
name: netplanka
external: true
[/code]

Thank you ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants