GithubHelp home page GithubHelp logo

shoetten / pretalx-docker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pretalx/pretalx-docker

0.0 1.0 0.0 34 KB

docker setup for a complete pretalx instalation using docker

Dockerfile 61.32% Shell 38.68%

pretalx-docker's Introduction

pretalx-docker

This repository contains a docker-compose setup as well as an ansible role for a pretalx installation based on docker.

Installation with docker-compose

For testing

  • Run docker-compose up -d. After a few minutes the setup should be accessible at http://localhost/orga
  • Set up a user and an organizer by running docker exec -ti pretalx pretalx init.

For production

  • Edit conf/pretalx.conf and fill in your own values (โ†’ configuration documentation)
  • Edit 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.
  • If you don't want to use docker volumes, create directories for the persistent data and make them read-writeable for the userid 999 and the groupid 999. Change pretalx-redis, pretalx-db and pretalx-data to the corresponding directories you've chosen.
  • Configure a reverse-proxy to handle TLS. Pretalx listens on port 80 in the 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-eamples/docker-compose. You can also find a few words on an nginx configuration at reverse-proxy-eamples/nginx
  • Run docker-compose up -d . After a few minutes the setup should be accessible under http://yourdomain.com/orga
  • Set up a user and an organizer by running docker exec -ti pretalx pretalx init.

Installation with ansible

(Please note that we also provide a second ansible role for use without docker here).

For testing

  • Add the role at ansible-role to your ansible setup.
  • Roll out the role
  • You should be able to reach pretalx at http://localhost/orga
  • Set up a user and an organizer by running docker exec -ti pretalx pretalx init.

For production

  • Add the role at ansible-role to your ansible setup.
  • Fill in the variables listed in the vars/main.yml file. Make sure to set testing to false!
  • Set up a reverse proxy to handle TLS. traefik is recommended. The containers that get rolled out are already tagged for traefik. An example role for traefik is included at reverse-proxy-eamples/ansible/traefik.
  • Roll out the role. After a few minutes pretalx should be reachable at the configured domain.
  • Set up a user and an organizer by running docker exec -ti pretalx pretalx init .

pretalx-docker's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.