3 minutes taiga server
EnglishLinuxTutorials
Launch any serveur (here I use debian)
The objective is to run taiga into docker containers :
– database container with official postgres image
– taiga backend
– taiga front end
Install docker (cf Instructions here)
POSTGRES
1 |
docker run -d --restart=always --name postgres postgres |
Now postgres is running
1 |
docker run -it --link postgres:postgres --rm postgres sh -c "su postgres --command 'createuser -h "'$POSTGRES_PORT_5432_TCP_ADDR'" -p "'$POSTGRES_PORT_5432_TCP_PORT'" -d -r -s taiga'" |
1 |
docker run -it --link postgres:postgres --rm postgres sh -c "su postgres --command 'createdb -h "'$POSTGRES_PORT_5432_TCP_ADDR'" -p "'$POSTGRES_PORT_5432_TCP_PORT'" -O taiga taiga'" |
/done
TAIGA BACKEND
export API_NAME=<ServerURLorIPAdress>
Reset and prepares DB stuff for Taiga :
1 |
docker run -it --rm --link postgres:postgres ipedrazas/taiga-back bash regenerate.sh |
Then start taiga
1 |
docker run -d --restart=always -p 8000:8000 --name taiga-back --link postgres:postgres ipedrazas/taiga-back |
TAIGA FRONTEND
1 |
docker run -d --restart=always --name taiga-front -p 80:80 -e API_NAME=$API_NAME --link taiga-back:taiga-back ipedrazas/taiga-front |
Admin user is : admin / 123123
Now connect and change your password !
CONFIGURATION
If you want to change some config files (language, ability to register…), just connect to your image :
1 |
docker exec -i -t taiga-back /bin/bash |
Now install vi
1 2 |
apt-get update apt-get install -y vim |
Now look inside conf file :
1 |
vi settings/local.py |
For language, seek : LANGUAGE_CODE
You can change timezone too : TIME_ZONE = “CET”
If you need to change frontend config (default language, register page, …), just connect to your image :
1 2 |
docker exec -i -t taiga-front /bin/bash apt-get install -y vim |
Now look inside conf file :
1 |
vi taiga/js/conf.json |
and change whatever you need…
Leave a comment