下载镜像解压缩
下载地址: https://github.com/taigaio/taiga-docker
# 解压缩
unzip taiga-docker-main.zip
修改服务器IP
# 进入目录
cd taiga-docker-main
# 修改ip,把里面的所有的 localhost 都替换为 服务器IP,我的ip 为192.168.8.100
vim taiga-gateway/taiga.conf
运行容器
[root@ansible_center taiga-docker-main]# docker-compose up -d
Creating network "taiga-docker-main_taiga" with the default driver
Creating volume "taiga-docker-main_taiga-static-data" with default driver
Creating volume "taiga-docker-main_taiga-media-data" with default driver
Creating volume "taiga-docker-main_taiga-db-data" with default driver
Creating volume "taiga-docker-main_taiga-async-rabbitmq-data" with default driver
Creating volume "taiga-docker-main_taiga-events-rabbitmq-data" with default driver
Creating taiga-docker-main_taiga-events-rabbitmq_1 ... done
Creating taiga-docker-main_taiga-async-rabbitmq_1 ... done
Creating taiga-docker-main_taiga-db_1 ... done
Creating taiga-docker-main_taiga-front_1 ... done
Creating taiga-docker-main_taiga-protected_1 ... done
Creating taiga-docker-main_taiga-events_1 ... done
Creating taiga-docker-main_taiga-back_1 ... done
Creating taiga-docker-main_taiga-async_1 ... done
Creating taiga-docker-main_taiga-gateway_1 ... done
[root@ansible_center taiga-docker-main]#
生成管理员账户
# ./taiga-manage.sh createsuperuser
+ exec docker-compose -f docker-compose.yml -f docker-compose-inits.yml run --rm taiga-manage createsuperuser
Creating taiga-docker-main_taiga-manage_run ... done
Username: taxsoft
Email address: tt@tt.cn
Password:
Password (again):
Superuser created successfully.
[root@ansible_center taiga-docker-main]#
访问管理界面
浏览器访问: http://192.168.8.100:9000/
注意:添加项目成员需要邮件确认。
停止运行
如果使用 ./lanuch-all.sh运行的话需要 使用下面的命令停止
# docker-compose -f docker-compose.yml -f docker-compose.penpot.yml down $@