Docker

From Limbas Wiki

Jump to: navigation, search
This page is a translated version of the page Docker and the translation is 100% complete.

<--back to Main Page


For a simple and operating system-independent Limbas installation, we offer Limbas as a Docker container. The required files are available at GitHub and SourceForge

git clone https://github.com/limbas/limbas-docker.git
cd limbas-docker
Note:

According to the best practices of Docker, every container should have only one task. There are therefore two Containers: one for webhosting (web) and one for the database (db).

Standard Configuration

Using docker-compose, both containers start automatically and connect to each other in their own virtual network.

docker-compose up

During startup, the demo data is automatically installed. Afterwards ("database system is ready to accept connections") Limbas is available on port 8000. Login with user admin and password limbas

Note:

If you do not want demo data but a clean installation, you can reinstall Limbas at http://<ip>:8000/admin/install/. The following configuration can be used for the database connection:

Database Vendor: PostgreSQL
Database Host: db
Database Name: limbasdb
Database User: limbasuser
Database Password: limbaspw
Database Schema: public
Database Port: 5432
SQL Driver: PostgreSQL

Alternatively, you can customize the db/dockerfile file to add clean.sql instead of demo.sql.

Adjustments

The configuration, such as the port can be customized in the file docker-compose.yml. If you want to change the database user, password, name or encoding, you must also change this in the file web/include_db.lib so that Limbas can connect to the database.