mirror of
https://github.com/wekan/wekan.git
synced 2025-12-19 17:00:13 +01:00
Updated Docker (markdown)
parent
149995ef2c
commit
4f0887b32c
1 changed files with 37 additions and 9 deletions
46
Docker.md
46
Docker.md
|
|
@ -71,16 +71,44 @@ quay.io/wekan/wekan
|
||||||
|
|
||||||
[Move Docker containers to other computer](https://github.com/wekan/wekan/wiki/Move-Docker-containers-to-other-computer), needs more details
|
[Move Docker containers to other computer](https://github.com/wekan/wekan/wiki/Move-Docker-containers-to-other-computer), needs more details
|
||||||
|
|
||||||
[Backup and Upgrade](https://github.com/wekan/wekan-mongodb#backup-before-upgrading)
|
### Backup before upgrade
|
||||||
|
```
|
||||||
Quay: `image: quay.io/wekan/wekan:v3.37`
|
docker stop wekan-app
|
||||||
Docker Hub: maybe is broken.
|
docker exec -it wekan-db bash
|
||||||
|
cd /data
|
||||||
Based on Debian 10, Docker image at Quay.io Docker reqistry
|
rm -rf dump
|
||||||
|
mongodump
|
||||||
|
exit
|
||||||
[Wekan for Docker bug reports and feature requests](https://github.com/wekan/wekan-mongodb/issues)
|
docker start wekan-app
|
||||||
|
docker cp wekan-db:/data/dump .
|
||||||
|
```
|
||||||
|
### Upgrade
|
||||||
|
```
|
||||||
|
docker stop wekan-app
|
||||||
|
docker rm wekan-app
|
||||||
|
```
|
||||||
|
Then edit docker-compose.yml to have higher wekan-app image version tag. Then:
|
||||||
|
```
|
||||||
|
docker-compose up -d
|
||||||
|
```
|
||||||
|
### Images
|
||||||
|
Quay: `image: quay.io/wekan/wekan:v4.07`
|
||||||
|
Docker Hub: `image: wekanteam/wekan:v4.07`
|
||||||
|
|
||||||
|
### Restore
|
||||||
|
```
|
||||||
|
docker stop wekan-app
|
||||||
|
docker exec -it wekan-db bash
|
||||||
|
cd /data
|
||||||
|
rm -rf dump
|
||||||
|
exit
|
||||||
|
docker cp dump wekan-db:/data/
|
||||||
|
docker exec -it wekan-db bash
|
||||||
|
cd /data
|
||||||
|
mongorestore --drop
|
||||||
|
exit
|
||||||
|
docker start wekan-app
|
||||||
|
```
|
||||||
## Cleanup
|
## Cleanup
|
||||||
|
|
||||||
[Cleanup and delete all Docker data to get Docker Compose working](https://github.com/wekan/wekan/issues/985)
|
[Cleanup and delete all Docker data to get Docker Compose working](https://github.com/wekan/wekan/issues/985)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue