namikingsoft / docker-restyaboard

Build Restyaboard on Docker.

Home Page:https://github.com/RestyaPlatform/board

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docker Restyaboard

Build Restyaboard in Docker.

Quick Start

Build image and Run container using docker-compose.

git clone https://github.com/namikingsoft/docker-restyaboard.git
cd docker-restyaboard

docker-compose up -d

Please wait a few minutes to complete initialize.

Check URL

http://(ServerIP):1234

Username: admin
Password: restya

Username: user
Password: restya

Change Restyaboard Version

Edit restyaboard/Dockerfile.
Available version is https://github.com/RestyaPlatform/board/releases

ENV restyaboard_version=REPLACE_ME

In case of upgrade version, rebuild image and recreate container.

docker-compose build
docker-compose up -d

If you want to upgrade database, e.g. (recommend to backup database before upgrade)

docker-compose run --rm restyaboard bash

export PGHOST=$POSTGRES_PORT_5432_TCP_ADDR
export PGPORT=$POSTGRES_PORT_5432_TCP_PORT
export PGUSER=$POSTGRES_ENV_POSTGRES_USER
export PGPASSWORD=$POSTGRES_ENV_POSTGRES_PASSWORD
...
psql -d restyaboard -f sql/upgrade-0.1.3-0.1.4.sql
psql -d restyaboard -f sql/upgrade-0.1.4-0.1.5.sql
...
exit

License

OSL 3.0 fits in Restyaboard.

About

Build Restyaboard on Docker.

https://github.com/RestyaPlatform/board

License:Open Software License 3.0


Languages

Language:Shell 100.0%