Sign inSign up

v1vvv1/wakapi

By v1vvv1

•Updated almost 3 years ago

Keep track of the time you have spent coding on different projects

Image
0

802

v1vvv1/wakapi repository overview

⁠Instructions for using the wakapi Docker image

If you wish to pull and run the wakapi Docker image in the future, follow these steps:

⁠1. Pull the image from Dockerhub:
docker pull v1vvv1/wakapi:latest
⁠2. Run the image:

Use the docker run command just as you did before, but instead of specifying n1try/wakapi:latest, use v1vvv1/wakapi:latest.

docker run -d \
  -p 3000:3000 \
  -e "WAKAPI_PASSWORD_SALT=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w ${1:-32} | head -n 1)" \
  -v wakapi-data:/data \
  --name wakapi v1vvv1/wakapi:latest
⁠Important: Data Backup

Always remember to back up your data to ensure the safety of your previous logs:

Backing up data from Docker volumes usually involves copying data from the volume's mount point on the host machine to a backup location. As the mount point for your volume is /var/lib/docker/volumes/wakapi-data/_data, you can use standard tools on your operating system to make a copy of that data.

  1. Using rsync:

    rsync is a powerful file copying tool. It can be used to back up your Docker volume to another location on your local machine or to a remote machine.

    rsync -av /var/lib/docker/volumes/wakapi-data/_data/ /path/to/backup/directory/
    
  2. Using tar:

    Create a tarball (archive) of your Docker volume.

    cd /var/lib/docker/volumes/wakapi-data/
    tar czvf /path/to/backup/directory/wakapi-data-backup.tar.gz _data/
    

Tag summary

Content type

Image

Digest

sha256:fbc7868d1…

Size

16.1 MB

Last updated

almost 3 years ago

docker pull v1vvv1/wakapi