This repository contains a docker-compose setup as well as an ansible role for a pretalx installation based on docker.
Please note that this repository is provided by the pretalx community, and not supported by the pretalx team.
docker-compose up -d
. After a few minutes the setup should be accessible at http://localhost/orga
docker exec -ti pretalx pretalx init
.conf/pretalx.cfg
and fill in your own values (→ configuration
documentation)docker-compose.yml
and remove the complete section with ports: - "80:80"
from the file (if you go with
traefic as reverse proxy) or change the line to ports: - "127.0.0.1:8355:80"
(if you use nginx). Change the
database password.
pretalx-redis
, pretalx-db
, pretalx-data
and pretalx-public
to the corresponding
directories you've chosen.pretalxdocker
network. I recommend to go with traefik for its ease of setup, docker integration and LetsEncrypt
support. An example to copy into the normal compose file
is located at reverse-proxy-examples/docker-compose
. You can also find a few words on an nginx configuration at
reverse-proxy-examples/nginx
GUNICORN_WORKERS
environment variable. Similarly you can use GUNICORN_MAX_REQUESTS
and
GUNICORN_MAX_REQUESTS_JITTER
to configure the requests a worker instance will process before restarting. GUNICORN_FORWARDED_ALLOW_IPS
lets you specify which IPs to trust (i.e. which reverse proxies' X-Forwarded-*
headers can be used to infer connection security).
Here's how to set an environment variable in
docker-compose.yml
or when using docker run
command.docker-compose up -d
. After a few minutes the setup should be accessible under http://yourdomain.com/orga
docker exec -ti pretalx pretalx init
.15,45 * * * * docker exec pretalx-app pretalx runperiodic
(Please note that we also provide a second ansible role for use without docker here).
ansible-role
to your ansible setup.http://localhost/orga
docker exec -ti pretalx pretalx init
.ansible-role
to your ansible setup.vars/main.yml
file. Make sure to set testing to false!
reverse-proxy-examples/ansible/traefik
.docker exec -ti pretalx pretalx init
.