Running in Docker - OpenGroupware/OpenGroupware.org GitHub Wiki

There is now a Docker image that can run an OGo build.

Database

If an OGo configured database is available, that should just work. (possibly requires 5.5 updates, though those are mostly for OGo Java I think).

The database can also be run in Docker itself. But at least the schema needs to be loaded into a PG database within.

OGo Dev Deploy Image

This is a pretty fat image that includes all the sources and a stack of development tools (gdb, emacs, etrace, etc) for debugging purposes.

E.g. to run it locally on port 80:

docker run -it --rm \
  --name OGoDev  \
  --link postgres:postgres   \
  -e OGO_DATABASE_PASSWORD=... \
  -e OGO_SERVER_NAME=localhost \
  -e OGO_SERVER_PORT=80 \
  -e OGO_SERVER_PROTOCOL=http \
  -p "80:80" \
  -v "/Users/helge/dev/OpenGroupware/docs:/var/lib/opengroupware.org/documents" \
  helje5/opengroupware-dev-deploy:0.0.1