Skip to content

Latest commit

 

History

History
59 lines (44 loc) · 2.5 KB

README.md

File metadata and controls

59 lines (44 loc) · 2.5 KB

Openslides pipeline status

This repository helps to install a small Openslides server for your digital elections and conferences.

The image gets updated and rebuilt every week automatically.

More information on Openslides here

More information on the installation process here (not for smaller/simpler installations)

Prerequisites

Optional (recommended) prerequisites

Installation

  • First login to your server and clone (download) the git repository with git clone https://gitlab.com/Maxkolbe/openslides.git
  • Then change directory into the newly created folder with cd openslides

Installation with docker or podman

Run the openslides container

docker run -d --name openslides \
  --user root:root \
  -p 8000:8000 \
  -v $PWD/settings.py:/root/.config/openslides/settings.py:rw \
  -v $PWD/openslides:/root/.local/share/openslides:rw \
  registry.gitlab.com/maxkolbe/openslides:latest \
  openslides

Run the nginx reverse proxy container

docker run -d --name nginx \
        -p 80:80 \
        -p 443:443 \
        -v $PWD/conf.d:/etc/nginx/conf.d:ro \
        -v $PWD/tls/key.pem:/etc/nginx/cert.key:ro \
        -v $PWD/tls/cert.pem:/etc/nginx/cert.crt:ro \
        -v $PWD/ssl.conf:/etc/nginx/ssl.conf:ro \
        -v $PWD/nginx.conf:/etc/nginx/nginx.conf:ro \
        docker.io/library/nginx:stable-alpine

If you don't have the certificates yet, leave the two -v $PWD/tls/... lines out.

If you have the certificates remove the # from the #include /etc/nginx/ssl.conf line inside conf.d/slides.conf file!