Openproject
https://openproject.moewe-altonah.de/projects/moewe/wiki/openproject-administration
API
https://docs.openproject.org/api/
curl -u apikey:$API_KEY https://openproject.moewe-altonah.de/api/v3/users
Docker
https://www.openproject.org/docker/
see latest docker images: https://hub.docker.com/r/openproject/community/tags/
Unfortunatly, docker images don't have the openproject repo checked out as git but as a release snapshot.
Test it:
docker run -d -p 8080:80 -e SECRET_KEY_BASE=secret openproject/community:8.1
Docker configuration
This is done via env vars. See possible options at: https://github.com/opf/openproject/blob/dev/docs/configuration/configuration.md#list-of-options
Interesting:
- hidden_menu_items
- disabled_modules
Docker restore DB
i.e. when migration from a different installation to a docker based one.
docker cp /var/lib/postgresql/restore/openproject-2018-11-30-11\:39\:01.dump openproject:/tmp
docker exec -it openproject bash
Stop processes that access postgres db:
supervisorctl
stop apache2 web worker cron
exit
Remove, recreate and restore db:
su - postgres
psql
DROP DATABASE openproject;
CREATE DATABASE openproject;
pg_restore -d openproject /tmp/openproject-2018-11-30-11\:39\:01.dump
Restart container:
docker stop openproject
docker start openproject
Watch container/migration logs:
docker logs -f openproject
tail -F /var/lib/openproject_docker/logs/*