wiznote/wizserver

By wiznote

Updated over 2 years ago

WizNote server for hosting on your server or private cloud

Image
218

1M+

🗂What's New

🔗Click here to view the updates

WizNote

WizNote is a cloud service that you could use to save your notes or share documents with your colleagues. We have all platform applications, and now you could host WizNote Server on your PC or server, even preserve the data on AWS or Azure.

Multi ways to record and collect information

  • A note can contain text, pictures, documents, checklist, audio record

Efficient Organization

  • Organize notes with flexible multi-level folder

Convenient, fast synchronization

  • All your notes are synchronized instantly.

Sharing and Collaboration

  • Share notes within team members
  • Flexible notification will remind your team member when a team note is updated

Download all Platform supported applications

For changelogs of these applications, please click: https://wiz.cn/download.html

⚙️ Run the WizNote Server Docker Image

First of all, please install and start the Docker desktop.

📥Download and Run the Docker Image

macOS

  1. Run this command in Terminal to create a data folder
cd ~
mkdir wizdata

Create a folder wizdata for preserving all the data of WizNote Server. Please backup this folder regularly. If you want to use NAS or private cloud as data storage, please contact us.

  1. Run the command below to run the docker container
docker run --name wiz --restart=always -it -d -v  ~/wizdata:/wiz/storage -e TZ=`ls -la /etc/localtime | cut -d/ -f8-9` -p 80:80 -p 9269:9269/udp  wiznote/wizserver

Linux

  1. Run this command in Terminal to create a data folder
cd ~
mkdir wizdata
  1. Run the command below to run the docker container
docker run --name wiz --restart=always -it -d -v  ~/wizdata:/wiz/storage -v  /etc/localtime:/etc/localtime -p 80:80 -p 9269:9269/udp  wiznote/wizserver

Windows

  1. Press Win + R, or click Start Menu - Run, then input this and press Enter.
powershell
  1. Input this command in the window
D:\
cd \
md wizdata

It will create a folder wizdata in D:\ for preserving all the data. You could modify this folder.

  1. Then run this command in terminal.
docker run --name wiz --restart=always -it -d -v  D:\wizdata:/wiz/storage -p 80:80 -p 9269:9269/udp wiznote/wizserver

It is the first time to run the docker container, so it needs to download the image and initiate the data. Please wait for a while(depends on the network connection; it will take 10 minutes or longer). After the download process finished, the time of running will take 2-3 minutes.

🖥Launch the browser, visit http://localhost.

You will see this page:

If it displays like the page below, it means the server has not ready, please wait a minute and refresh.

🧲Modify the Port

If port 80 has occupied, you could modify it to 8080 or another one.

Mac/Linux

docker run --name wiz -it -d -v  ~/wizdata:/wiz/storage -p 8080:80 wiznote/wizserver

Windows

docker run --name wiz -it -d -v  D:\wizdata:/wiz/storage -p 8080:80 wiznote/wizserver

After modified the port, please change the link of the website accordingly.

http://localhost:8080

You could open the web application by visiting your IP address like this, so the user in the same LAN could connect the server via IP address and port(opt)

http://192.168.1.186

The case when you modify the port like this:

http://192.168.1.186:8080

On Windows, you have to make the port through the firewall.

🎞Restart the Container

After modifying the port, please restart the container and the WizNote Server

docker stop wiz
docker rm wiz
docker run --name wiz --restart=always -it -d -v  ~/wizdata:/wiz/storage -v  /etc/localtime:/etc/localtime -p 80:80 -p 9269:9269/udp  wiznote/wizserver

Please change the third line as you require

💾Restart the WizNote Server
docker start wiz

🎁Update the Image
docker stop wiz
docker rm wiz
docker pull wiznote/wizserver:latest
docker run --name wiz --restart=always -it -d -v  ~/wizdata:/wiz/storage -v  /etc/localtime:/etc/localtime -p 80:80 -p 9269:9269/udp  wiznote/wizserver

Or you could update WizNote Server image automatically by using Watchtower: https://github.com/containrrr/watchtower

🕰Modify the Time Zone

For example, change the time zone to UTC/GMT+08:00

docker exec -it wiz /bin/bash
cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
exit
⏳Get local time zone

Linux

Add -v /etc/localtime:/etc/localtime to the running command to get local time zone

run --name wiz -it -d -v  ~/wizdata:/wiz/storage -p 80:80 -p 9269:9269/udp -v  /etc/localtime:/etc/localtime  wiznote/wizserver

MacOS

-e TZ=`ls -la /etc/localtime | cut -d/ -f8-9`

💡 FAQ

For more FAQ: 🔗https://www.wiz.cn/docker.html

Docker Pull Command

docker pull wiznote/wizserver