Skip to content

Monogramm/docker-taiga-back-base

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

License: AGPL v3 GitHub Workflow Status Docker Automated buid Docker Pulls

Docker image for taiga-back

This Docker repository provides the taiga-back server with a configuration suitable to use with taiga-front.

This image was inspired by ajira86/docker-taiga which is a fork of benhutchins/docker-taiga.

For a more advanced image and full docker-compose example, checkout Monogramm/docker-taiga.

What is Taiga

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

taiga.io

Supported tags

https://hub.docker.com/r/monogramm/docker-taiga-back-base/

  • 6.0.9-alpine 6.0-alpine alpine 6.0.9 6.0 latest (images/6.0/alpine/Dockerfile)
  • 5.5.9-alpine 5.5-alpine 5.5.9 5.5 (images/5.5/alpine/Dockerfile)
  • 5.0.15-alpine 5.0-alpine 5.0.15 5.0 (images/5.0/alpine/Dockerfile)
  • 4.2.14-alpine 4.2-alpine 4.2.14 4.2 (images/4.2/alpine/Dockerfile)

Build Docker image

To generate docker images from the template, execute update.sh script.

Install Docker and then run docker build -t docker-taiga-back-base images/VARIANT/VERSION to build the image for the variant and version you need.

You can also build all images by running update.sh build.

Adding Features

If the image does not include the packages you need, you can easily build your own image on top of it. Start your derived image with the FROM statement and add whatever you like.

FROM monogramm/docker-taiga-back-base:alpine

RUN ...

You can also clone this repository and use the update.sh shell script to generate a new Dockerfile based on your own needs.

For instance, you could build a container based on Dolibarr develop branch by setting the update.sh versions like this:

latests=( "master" )

Then simply call update.sh script.

bash update.sh

Your Dockerfile(s) will be generated in the images/ folder.

Auto configuration via environment variables

The Taiga image supports auto configuration via environment variables. You can preconfigure nearly everything that is available in local.py.

See local.py.example and docker-settings.py for more details on configuration.

Gunicorn configuration

Examples:

  • Default

    GUNICORN_TIMEOUT=60
    GUNICORN_WORKERS=4
    GUNICORN_LOGLEVEL=info
    BIND_ADDRESS=0.0.0.0
    PORT=8001
  • SSL (you need to provide certificates yourself)

    GUNICORN_TIMEOUT=60
    GUNICORN_WORKERS=4
    GUNICORN_LOGLEVEL=warn
    GUNICORN_CERTFILE=/etc/letsencrypt/live/my.domain.com/fullchain.pem
    GUNICORN_KEYFILE=/etc/letsencrypt/live/my.domain.com/privkey.pem
    BIND_ADDRESS=0.0.0.0
    PORT=443

Taiga Database configuration

Your database configuration (REQUIRED).

Examples:

  • Default

    POSTGRES_DB=taigadb
    POSTGRES_HOST=taigadb
    POSTGRES_PORT=5432
    POSTGRES_USER=taiga
    POSTGRES_PASSWORD=
  • With external database

    POSTGRES_DB=taigadb
    POSTGRES_HOST=taigadb.company.com
    POSTGRES_PORT=5432
    POSTGRES_USER=taigadb
    POSTGRES_PASSWORD=somethingsecure

TAIGA_HOSTNAME

Default value: localhost

Your service hostname (REQUIRED). Remember to set it in the front client too.

Examples:

TAIGA_HOSTNAME=localhost
TAIGA_HOSTNAME=taiga.company.com

TAIGA_ENABLE_EMAIL

Default value: False

Enable email server configuration

Examples:

ENABLE_EMAIL=False
ENABLE_EMAIL=True
DEFAULT_FROM_EMAIL=no-reply@gmail.com
TAIGA_NOTIFICATIONS_INTERVAL=0
EMAIL_USE_TLS=False
EMAIL_USE_SSL=True
EMAIL_HOST=smtp.gmail.com
EMAIL_PORT=465
EMAIL_HOST_USER=user.taiga@gmail.com
EMAIL_HOST_PASSWORD=usertaigagmailappsecret
ENABLE_EMAIL=True
DEFAULT_FROM_EMAIL=no-reply@company.com
TAIGA_NOTIFICATIONS_INTERVAL=300 # requires async mode or cron
EMAIL_USE_TLS=True
EMAIL_USE_SSL=False
EMAIL_HOST=mail.company.com
EMAIL_PORT=587
EMAIL_HOST_USER=taiga@company.com
EMAIL_HOST_PASSWORD=somethingsecure
ENABLE_EMAIL=True
DEFAULT_FROM_EMAIL=no-reply@company.com
TAIGA_NOTIFICATIONS_INTERVAL=120 # requires async mode or cron
EMAIL_USE_TLS=False
EMAIL_USE_SSL=False
EMAIL_HOST=mail.company.com
EMAIL_PORT=25
EMAIL_HOST_USER=taiga@company.com
EMAIL_HOST_PASSWORD=somethingsecure

TAIGA_ADMIN_PASSWORD

Default value: 123123

The default administrator password

Examples:

TAIGA_ADMIN_PASSWORD=somethingverysecure

TAIGA_SSL

Default value: False

Activate SSL. Remember to enable it in the front client too.

Examples:

TAIGA_SSL=False
TAIGA_SSL=True

TAIGA_SSL_BY_REVERSE_PROXY

Default value: False

Activate SSL through a reverse proxy. Remember to enable it in the front client too.

Examples:

TAIGA_SSL_BY_REVERSE_PROXY=False
TAIGA_SSL_BY_REVERSE_PROXY=True

TAIGA_SECRET_KEY

Default value: '!!!REPLACE-ME-j1598u1J^U*(y251u98u51u5981urf98u2o5uvoiiuzhlit3)!!!'

Secret key used for encryption.

Examples:

TAIGA_SECRET_KEY=somethingreallysecureandrandom

TAIGA_DEBUG

Default value: False

Enable Taiga debug mode.

Examples:

TAIGA_DEBUG=False
TAIGA_DEBUG=True

TAIGA_TEMPLATE_DEBUG

Default value: False

Enable Taiga template debug mode.

Examples:

TAIGA_TEMPLATE_DEBUG=False
TAIGA_TEMPLATE_DEBUG=True

TAIGA_PUBLIC_REGISTER_ENABLED

Default value: False

Enable Taiga registration.

Examples:

PUBLIC_REGISTER_ENABLED=False
PUBLIC_REGISTER_ENABLED=True

TAIGA_SITEMAP_ENABLED

Default value: False

Enable Taiga sitemap.

Examples:

SITEMAP_ENABLED=False
SITEMAP_ENABLED=True

TAIGA_FEEDBACK_ENABLED

Default value: False

Enable Taiga feedback. Remember to enable it in the front client too.

Examples:

FEEDBACK_ENABLED=False
FEEDBACK_ENABLED=True
FEEDBACK_EMAIL=support@taiga.io
TAIGA_FEEDBACK_ENABLED=True
TAIGA_FEEDBACK_EMAIL=taiga@company.com
FEEDBACK_ENABLED=True
FEEDBACK_EMAIL=contact@company.com

TAIGA_STATS_ENABLED

Default value: False

Enable Taiga statistics.

Examples:

STATS_ENABLED=False
STATS_ENABLED=True

ENABLE_TELEMETRY

Default value: False

Enable Telemetry anonymous data in order to learn about the use of Taiga and improve the platform based on real scenarios.

Examples:

ENABLE_TELEMETRY=False
ENABLE_TELEMETRY=True

TAIGA_IMPORTER_GITHUB_ENABLED

Default value: False

Enable Taiga GitHub importer. Remember to enable it in the front client too. Requires GitHub client ID and secret.

Examples:

ENABLE_GITHUB_IMPORTER=False
ENABLE_GITHUB_IMPORTER=True
GITHUB_IMPORTER_CLIENT_ID=XXXXXX_get_a_valid_client_id_from_github_XXXXXX
GITHUB_IMPORTER_CLIENT_SECRET=XXXXXX_get_a_valid_client_secret_from_github_XXXXXX

TAIGA_IMPORTER_TRELLO_ENABLED

Default value: False

Enable Taiga Trello importer. Remember to enable it in the front client too. Requires Trello API key and secret.

Examples:

ENABLE_TRELLO_IMPORTER=False
ENABLE_TRELLO_IMPORTER=True
TRELLO_IMPORTER_API_KEY=XXXXXX_get_a_valid_api_key_from_trello_XXXXXX
TRELLO_IMPORTER_SECRET_KEY=XXXXXX_get_a_valid_secret_key_from_trello_XXXXXX

TAIGA_IMPORTER_JIRA_ENABLED

Default value: False

Enable Taiga JIRA importer. Remember to enable it in the front client too. Requires JIRA consumer key and valid certificate.

Examples:

ENABLE_JIRA_IMPORTER=False
ENABLE_JIRA_IMPORTER=True
JIRA_IMPORTER_CONSUMER_KEY=XXXXXX_get_a_valid_consumer_key_from_jira_XXXXXX
JIRA_IMPORTER_CERT=XXXXXX_get_a_valid_cert_from_jira_XXXXXX
JIRA_IMPORTER_PUB_CERT=XXXXXX_get_a_valid_pub_cert_from_jira_XXXXXX

TAIGA_IMPORTER_ASANA_ENABLED

Default value: False

Enable Taiga Asana importer. Remember to enable it in the front client too. Requires Asana App ID and secret.

Examples:

ENABLE_ASANA_IMPORTER=False
ENABLE_ASANA_IMPORTER=True
ASANA_IMPORTER_APP_ID=XXXXXX_get_a_valid_app_id_from_asana_XXXXXX
ASANA_IMPORTER_APP_SECRET=XXXXXX_get_a_valid_app_secret_from_asana_XXXXXX

TAIGA_EVENTS_ENABLED

Default value: False

Enable Taiga Events. Requires RabbitMQ.

Examples:

EVENTS_ENABLED=False
EVENTS_ENABLED=True
RABBITMQ_VHOST=/
RABBITMQ_USER=guest
RABBITMQ_PASSWORD=guest
RABBITMQ_HOST=rabbitmq
RABBITMQ_PORT=5672
EVENTS_ENABLED=True
RABBITMQ_VHOST=/
RABBITMQ_USER=taiga
RABBITMQ_PASSWORD=somethingverysecure
RABBITMQ_HOST=taiga_rabbitmq
RABBITMQ_PORT=5672

TAIGA_ASYNC_ENABLED

Default value: False

Enable Taiga asynchronous mode. Requires Redis, Celery and RabbitMQ.

Examples:

CELERY_ENABLED=False
CELERY_ENABLED=True
RABBITMQ_VHOST=/
RABBITMQ_USER=guest
RABBITMQ_PASSWORD=guest
RABBITMQ_HOST=rabbitmq
RABBITMQ_PORT=5672
REDIS_HOST=redis
REDIS_PORT=6379
CELERY_ENABLED=True
RABBITMQ_VHOST=/
RABBITMQ_USER=taiga
RABBITMQ_PASSWORD=somethingverysecure
RABBITMQ_HOST=taiga_rabbitmq
RABBITMQ_PORT=5672
REDIS_HOST=taiga_redis
REDIS_PORT=6379