Public Repository

Last pushed: 6 months ago
Short Description
Quassel Core container
Full Description

quassel-core

Docker image for centralized logging based on Fedora 25 with quassel core and qt5 postgresql support.

To get this image, pull it from docker hub:

$ docker pull jnix85/quassel-core

Or, if you want to build this image yourself, clone the github repo and in directory with Dockerfile run:

$ docker build -t <username>/quassel-core .

To run the image use:

$ docker run -d -p 4242:4242 --name quassel-core -v /some/path:/quassel jnix85/quassel-core

By default, quassel listens on port 4242 and requires (and generates its own certificates) SSL

To view the logs

$ docker logs quassel-core

You can use the Postgresql backend by linking to another container, or using an external database server. This guide uses a container.

$ docker stop quassel-core
$ docker run --name postgres -e POSTGRES_PASSWORD=secret -d postgres
$ docker run -it --rm --link postgres:postgres postgres psql -h postgres -U postgres
Password for user postgres:
psql (9.6.3)
Type "help" for help.

postgres=# create user quassel with encrypted password 'quassel';
postgres=# create database with owner quassel;

$ mkdir /some/path/config
$ docker run --rm -it --link postgres:postgres -v /some/path:/quassel jnix85/quassel-core
[root@325d1afbe21e /]# quasselcore -c /quassel/config --select-backend PostgreSQL
2017-05-29 19:35:13 Warning: SslServer: Certificate file /quassel/config/quasselCert.pem does not exist
2017-05-29 19:35:13 Warning: SslServer: Unable to set certificate file
           Quassel Core will still work, but cannot provide SSL for client connections.
           Please see http://quassel-irc.org/faq/cert to learn how to enable SSL support.
2017-05-29 19:35:13 Warning: SslServer: Certificate file /quassel/config/quasselCert.pem does not exist
2017-05-29 19:35:14 Info: PostgreSQL Storage Backend is ready. Quassel Schema Version: 17
Default values are in brackets
Username (quassel): quassel
Password:
Hostname (localhost): postgres
Port (5432):
Database (quassel):
2017-05-29 19:35:21 Info: PostgreSQL Storage Backend is ready. Quassel Schema Version: 17
Switched backend to: PostgreSQL
[root@325d1afbe21e /]# exit
$ docker start quassel-core
Docker Pull Command
Owner
jnix85