Build Restyaboard on Docker.
Shell
Latest commit af45c7c Mar 18, 2016 @namikingsoft Merge pull request #16 from edouard-lopez/set-build-env
set ARG TERM and ARG DEBIAN_FRONTEND to prevent useless error

README.md

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.