Skip to content

Latest commit

 

History

History
84 lines (58 loc) · 3.11 KB

README.md

File metadata and controls

84 lines (58 loc) · 3.11 KB

Docker Image for 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

Quick setup

The simpliest way to run a local server is to update docker-compose.yml and launch it with:

docker-compose up

General setup

You can get the image directly from dockerhub with and link it with postgres:

docker run -itd \
    --link taiga-postgres:postgres \
    -p 80:80 \
    -e TAIGA_HOSTNAME=taiga.mycompany.net \
    -v ./media:/usr/src/taiga-back/media \
    novanet/taiga

See Summarize below for a complete example. Partial explanation of arguments:

Once your container is running, use the default administrator account to login: username is admin, and the password is 123123.

If you're having trouble connecting, make sure you've configured your TAIGA_HOSTNAME. It will default to localhost, which almost certainly is not what you want to use.

Extra configuration options

Use the following environmental variables to generate a local.py for taiga-back.

  • -e TAIGA_HOSTNAME= (required set this to the server host like taiga.mycompany.com)
  • -e TAIGA_SSL=True (see Enabling HTTPS)
  • -e TAIGA_SECRET_KEY (set this to a random string to configure the SECRET_KEY value for taiga-back; defaults to an insecure random string)
  • -e TAIGA_SKIP_DB_CHECK (set to skip the database check that attempts to automatically setup initial database)
  • -e TAIGA_ENABLE_EMAIL=True (see Configuring SMTP)

Note: Database variables are also required, see Using Database server. These are required even when using a container for your database.

Volumes

Uploads to Taiga go to the media folder, located by default at /usr/src/taiga-back/media.

Use -v /my/own/media:/usr/src/taiga-back/media as part of your docker run command to ensure uploads are not lost easily.

Events

Taiga has an optional dependency that adds additional usability to Taiga (like broadcasting updates to other clients), see Taiga Events.

Full setup

To sum it all up, if you want to run Taiga without using docker-compose, run this:

docker run --name taiga-postgres -d -e POSTGRES_PASSWORD=password postgres
docker run --name taiga-redis -d redis:3
docker run --name taiga-rabbit -d --hostname taiga rabbitmq:3
docker run --name taiga-celery -d --link taiga-rabbit:rabbit celery
docker run --name taiga-events -d --link taiga-rabbit:rabbit benhutchins/taiga-events

docker run -itd \
  --name taiga \
  --link taiga-postgres:postgres \
  --link taiga-redis:redis \
  --link taiga-rabbit:rabbit \
  --link taiga-events:events \
  -p 80:80 \
  -e TAIGA_HOSTNAME=$(docker-machine ip default) \
  -v ./media:/usr/src/taiga-back/media \
  novanet/taiga