Skip to content

Installing Liwan using Docker

To install Liwan using Docker, run the following command:

Terminal window
docker run -d --name liwan \
-p 127.0.0.1:9042:9042 \
-v liwan-data:/data \
-e LIWAN_BASE_URL=https://a.example.com \
ghcr.io/explodingcamera/liwan:edge

This will start Liwan and bind it to port 9042 on localhost. To make Liwan accessible from the internet, you will need to set up a reverse proxy. For more information, see the Setting up a Reverse Proxy guide and the Configuration Reference for all configuration options.

To view the logs (and find the setup URL), you can run:

liwan
docker logs liwan
It looks like you're running Liwan for the first time!
You can get started by visiting: http://localhost:9042/setup?t=1234567890
To see all available commands, run `liwan --help`