mirror of
https://github.com/plankanban/planka.git
synced 2026-02-25 03:14:50 +03:00
What is the best way to upgrade an existing Planka installation on Docker ? #255
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tikok974 on GitHub (Nov 25, 2022).
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 commented on GitHub (Nov 25, 2022):
Hey,
I've been using Watchtower to keep my docker images (planka included) updated.
So far no problems.
@timshannon commented on GitHub (Nov 30, 2022):
@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 (https://github.com/plankanban/planka/issues/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 commented on GitHub (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 ;)
@meltyshev commented on GitHub (May 12, 2025):
https://docs.planka.cloud/docs/installation/docker/how-to-update