Docker

Aus Limbas Wiki

Wechseln zu: Navigation, Suche
Diese Seite ist eine übersetzte Version der Seite Docker und die Übersetzung ist zu 100 % abgeschlossen sowie aktuell.

<--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 SourceForge and only need to be unzipped.

tar xzfv openlimbas_docker-3.4.12.496.tar.gz 
cd openlimbas
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.