Docker image for Taiga Backend. Works together with moss/taiga-front-dist.
2.1K
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 moss-it/taiga-front-dist image.
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 moss-it/taiga-back
For a complete taiga installation (moss-it/taiga-back and
moss-it/taiga-front-dist) you can use this docker-compose configuration:
data:
image: tianon/true
volumes:
- /var/lib/postgresql/data
- /usr/local/taiga/media
- /usr/local/taiga/static
- /usr/local/taiga/logs
postgres:
image: postgres
environment:
POSTGRES_USER: taiga
POSTGRES_PASSWORD: password
volumes_from:
- data
taigaback:
image: moss/taiga-back
hostname: dev.example.com
environment:
SECRET_KEY: examplesecretkey
EMAIL_USE_TLS: 'True'
EMAIL_HOST: smtp.gmail.com
EMAIL_PORT: 587
EMAIL_HOST_USER: [email protected]
EMAIL_HOST_PASSWORD: yourpassword
LDAP_ENABLED: 'True'
LDAP_SERVER: "ldap://openldap"
LDAP_PORT: 389
LDAP_BIND_DN: "cn=admin,dc=example,dc=com"
LDAP_BIND_PASSWORD: 'securepassword'
LDAP_SEARCH_BASE: "ou=people,cn=admin,dc=example,dc=com"
LDAP_FULL_NAME_PROPERTY: 'cn'
links:
- postgres:postgres
volumes_from:
- data
taigafront:
image: moss/taiga-front-dist
hostname: dev.example.com
links:
- taigaback
environment:
LDAP_ENABLED: 'True'
volumes_from:
- data
ports:
- 0.0.0.0:80:80
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
SECRET_KEY defaults to "insecurekey", but you might want to change this.DEBUG defaults to FalseTEMPLATE_DEBUG defaults to FalsePUBLIC_REGISTER_ENABLED defaults to TrueMEDIA_URL defaults to "http://$HOSTNAME/media/"STATIC_URL defaults to "http://$HOSTNAME/static/"API_SCHEME defaults to "http". Use https if moss-it/taiga-front-dist is used and SSL enabled.API_DOMAIN defaults to "$HOSTNAME"FRONT_SCHEME defaults to "http". Use https if moss-it/taiga-front-dist is used and SSL enabled.FRONT_DOMAIN defaults to "$HOSTNAME"EMAIL_USE_TLS defaults to FalseEMAIL_HOST defaults to "localhost"EMAIL_PORT defaults to "25"EMAIL_HOST_USER defaults to ""EMAIL_HOST_PASSWORD defaults to ""DEFAULT_FROM_EMAIL defaults to "[email protected]"POSTGRES_HOST. Use to override database host.POSTGRES_PORT. Use to override database port.POSTGRES_DB_NAME. Use to override database name.POSTGRES_USER. Use to override user specified in linked postgres container.POSTGRES_PASSWORD. Use to override password specified in linked postgres container.Full DN of the service account use to connect to LDAP server and search for login user's account entry.
If LDAP_BIND_DN is not specified, or is blank, then an anonymous bind is attempted.
LDAP_ENABLED defaults to False, needs to be True to enable ldap.LDAP_SERVER defaults to "", ie. ldap://ldap.domain or ldaps://ldap.domainLDAP_PORT defaults to 389LDAP_BIND_DN= defaults to "", ie. 'CN=SVC Account,OU=Service Accounts,OU=Servers,DC=example,DC=com'LDAP_BIND_PASSWORD defaults to ""LDAP_SEARCH_BASE defaults to "", ie. 'OU=DevTeam,DC=example,DC=net'LDAP_SEARCH_PROPERTY defaults to "uid"; LDAP property used for searching, ie. login username needs to match value in uid property in LDAP.LDAP_SEARCH_SUFFIX defaults to "", ie '@example.com'LDAP_EMAIL_PROPERTY defaults to mailLDAP_FULL_NAME_PROPERTY defaults to 'cn'Content type
Image
Digest
sha256:b5a27d7a7…
Size
350.2 MB
Last updated
almost 10 years ago
docker pull moss/taiga-back