moss/taiga-front-dist
Docker image for Taiga Frontend. Works together with moss/taiga-back
1.3K
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 frontend. It works together with the moss/taiga-back image.
A moss/taiga-back container should be linked to the taiga-front-dist container. Also connect the volumes of this the taiga-back container if you want to serve the static files for the admin panel.
docker run --name taiga_front_dist_container_name --link \
taiga_back_container_name:taigaback --volumes-from \
taiga_back_container_name moss-it/taiga-front-dist
For a complete taiga installation (moss/taiga-back
and
moss/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: youremail@gmail.com
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
HTTPS can be enabled by setting SCHEME
to https
and filling SSL_CRT
and SSL_KEY
env variables (see Environment section below). http (port 80)
requests will be redirected to https (port 443).
Example:
data:
...
db:
...
taigaback:
image: moss-it/taiga-back:stable
hostname: dev.example.com
environment:
...
API_SCHEME: https
FRONT_SCHEME: https
links:
- db:postgres
volumes_from:
- data
taigafront:
image: moss-it/taiga-front-dist:stable
hostname: dev.example.com
environment:
SCHEME: https
SSL_CRT: |
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----
SSL_KEY: |
-----BEGIN RSA PRIVATE KEY-----
...
-----END RSA PRIVATE KEY-----
links:
- taigaback
volumes_from:
- data
ports:
- 0.0.0.0:80:80
- 0.0.0.0:443:443
PUBLIC_REGISTER_ENABLED
defaults to true
API
defaults to "/api/v1"
SCHEME
defaults to http
. If https
is used eitherSSL_CRT
and SSL_KEY
needs to be set or/etc/nginx/ssl/
volume attached with ssl.crt
and ssl.key
filesSSL_CRT
SSL certificate value. Valid only when SCHEME
set to https.SSL_KEY
SSL certificate key. Valid only when SCHEME
set to https.LDAP_ENABLED
defaults to False
, needs to be True
to use ldap
login.docker pull moss/taiga-front-dist