Public | Automated Build

Last pushed: a year ago
Short Description
Docker image for Taiga Backend. Works together with davedamoon/taiga-front-dist.
Full Description

htdvisser/taiga-back

Taiga is a project management platform for startups and agile developers & designers who want a simple, beautiful tool that makes work truly enjoyable.

This Docker image can be used for running the Taiga backend. It works together with the htdvisser/taiga-front-dist image.



Running

A postgres container should be linked to the taiga-back container. The taiga-back container will use the POSTGRES_USER and POSTGRES_PASSWORD environment variables that are supplied to the postgres container.

docker run --name taiga_back_container_name --link postgres_container_name:postgres htdvisser/taiga-back

Database Initialization

To initialize the database, use docker exec -it taiga-back bash and execute the following commands:

cd /usr/local/taiga/taiga-back/
python manage.py loaddata initial_user
python manage.py loaddata initial_project_templates
python manage.py loaddata initial_role

Environment

  • SECRET_KEY defaults to "insecurekey", but you might want to change this.
  • DEBUG defaults to False
  • TEMPLATE_DEBUG defaults to False
  • PUBLIC_REGISTER_ENABLED defaults to True

URLs for static files and media files from taiga-back:

  • MEDIA_URL defaults to "http://$HOSTNAME/media/"
  • STATIC_URL defaults to "http://$HOSTNAME/static/"

Email configuration:

  • EMAIL_USE_TLS defaults to False
  • EMAIL_HOST defaults to "localhost"
  • EMAIL_PORT defaults to "25"
  • EMAIL_HOST_USER defaults to ""
  • EMAIL_HOST_PASSWORD defaults to ""
  • DEFAULT_FROM_EMAIL defaults to "no-reply@example.com"

Database configuration:

  • POSTGRES_PORT_5432_TCP_ADDR. Use to set database host name, defaults to postgres.
  • POSTGRES_PORT_5432_TCP_PORT. Use to set database port, defaults to 5432.
  • POSTGRES_DB_NAME. Use to override database name specified in linked postgres container.
  • POSTGRES_USER. Use to override user specified in linked postgres container.
  • POSTGRES_PASSWORD. Use to override password specified in linked postgres container.
Docker Pull Command
Owner
davedamoon
Source Repository

Comments (0)