Skip to content
On this page

Setup by using docker

You'll need git, nano, docker(with compose plugin) and a stable internet connection

dc = docker compose

Prepare files

git clone https://github.com/lotusnetwork/lotusboard-docker.git
cd lotusboard-docker

And pull from remote

git submodule update --init
git submodule update --remote

Then modify the docker-compose conf

ARM user please pay attention to "if you're ARM user please replace image line with this"

version: '3'
services:
  www:
    image: ghcr.io/lotusnetwork/sakuraneko
    # build: https://github.com/lotusnetwork/sakuraneko.git <- if you're ARM user please replace image line with this
    volumes:
      - './lotusboard:/www'
      - './wwwlogs:/wwwlogs'
      - './caddy.conf:/run/caddy/caddy.conf'
      - './supervisord.conf:/run/supervisor/supervisord.conf'
      - './crontabs.conf:/etc/crontabs/root'
      - './.caddy:/root/.caddy'
    ports:
      - '80:80' <--- Modify if you want to reverse proxy, Eg (443tls -> caddy -> 8080), format is host:container
    restart: always
    links:
      - mysql
  mysql:
    image: mysql:5.7.29
    # image: arm64v8/mysql:latest  <- if you're ARM user please replace image line with this
    volumes:
      - './mysql:/var/lib/mysql'
    restart: always
    environment:
      MYSQL_ROOT_PASSWORD: 'DataBase_password'
      MYSQL_DATABASE: DB_Name

Remember to change the password and database of mysql

If your database is not deployed locally, remove the "mysql" block to save resource"

Setup and configure

- Out Docker Container -
docker compose up -d
docker compose exec www bash
- In Docker Container -
bash init.sh

Now, you should see something like this

__     ______  ____                      _
\ \   / /___ \| __ )  ___   __ _ _ __ __| |
 \ \ / /  __) |  _ \ / _ \ / _` | '__/ _` |
  \ V /  / __/| |_) | (_) | (_| | | | (_| |
   \_/  |_____|____/ \___/ \__,_|_|  \__,_|
 请输入数据库地址(默认:localhost) [localhost]:
 > mysql <--- Don't modify
 请输入数据库名:
 > DB_Name <--- Your DB_Name configured in docker-compose.yml
 请输入数据库用户名:
 > root <--- Don't modify
 请输入数据库密码:
 > DataBase_password <--- Your DB_Name configured in docker-compose.yml
正在导入数据库请稍等...
数据库导入完成
 请输入管理员邮箱?:
 > test@test.com <--- Admin Account(Used for login the admin dashboard)
一切就绪
管理员邮箱:test@test.com
管理员密码:3ecd18745d64fb2420b69eaacf340a87 <--- Your password(Generated)
访问 http(s)://你的站点/e1bf6d26 进入管理面板,你可以在用户中心修改你的密码 <--- Open admin dashboard with http://127.0.0.1:your_port/e1bf6d26

Now v2board should be available at http://127.0.0.1:port (port you configured in docker-compose.yml)

If you need just reverse proxy it

After the setup, if the tasker(horizon) is not working please dodc restart to restart the panel

All projects released with GPL3 License.