Docker快速搭建OpenProject项目管理协作平台

编程入门 行业动态 更新时间:2024-10-18 12:35:14

转载来源:https://hub.docker/r/openproject/community

 

Docker快速搭建OpenProject项目管理协作平台

 

Tags信息

  • openproject/community:7 - The latest stable version (7.x) of OpenProject's Community Edition.
  • openproject/community:7.4 - The latest version (7.4.x) of OpenProject's Community Edition
  • openproject/community:7.4.0 - Version 7.4.0 of OpenProject's Community Edition

There are also respective tags for older versions beginning from 7.3.2.

Warning if you are using PostgreSQL:

OpenProject 7.4.0 requires UPSERT which is only supported from Postgres 9.5 on. That means if you want to update from OpenProject 7.3.2 to 7.4.0 you have to upgrade your Postgres database.

See also the Postgres Migration Guide.

 

快速开始

This runs the latest stable branch of OpenProject. The database and attachments will be saved on the host. Meaning they will still be there after a restart of the docker container.

docker run \
  -p 8080:80 \
  -v /persistent/db-data/dir/on/host:/var/lib/postgresql/9.4/main \
  -v /persistent/openproject/data/on/host:/var/db/openproject \
  -e SECRET_KEY_BASE=youshouldoverwritethiswithsomethingelse \
  openproject/community:7

Don't forget to override the SECRET_KEY_BASE with a sensible value. I.e. a long, once randomly generated string. After running this you can access OpenProject under http://localhost:8080.

PS: http://localhost:8080  默认账户 admin/admin,如果您只是测试,或个人使用,请使用快速开始的配置。

 

生产环境

In production you will want to use a separate database running in a different container. Also it's a good idea to have the attachments on a NFS share if you want to run several OpenProject containers so that they share the attachments. Lastly a separate, shared memcached should be used so that the cache does not get lost when a container is restarted.

docker run \
  -v /mnt/nfs-share/openproject:/var/db/openproject \
  -e DATABASE_URL="postgres://user:password@host:5432/dbname?pool=10&encoding=unicode&timeout=5000&reconnect=true" \
  -e SECRET_KEY_BASE=youshouldoverwritethiswithsomethingelse \
  -e CACHE_MEMCACHE_SERVER=memcache.host
  -e CACHE_NAMESPACE=openproject
  openproject/community:7

Overriding DATABASE_URL allows you to use an external database.

 

SSL/TLS

The docker image does not support SSL. It only serves normal HTTP requests on port 80. If you do want OpenProject to be available under HTTPS you can put it behind a load balancer which takes care of SSL termination.

Alternatively you can use the packaged installation which does support SSL.

 

演示界面

PS: 非常不错,免费,强大,快速绘制甘特图,在线协作!

 

 

更多推荐

Docker快速搭建OpenProject项目管理协作平台

本文发布于:2023-06-14 08:49:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1458491.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:项目管理   快速   平台   Docker   OpenProject

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!