Commit Graph

4 Commits

Author SHA1 Message Date
Tobias Brunner
5a2c87630c adapt dir permissions for openshift and add dumb-init
This commit updates directory permissions to be compatible with
OpenShift which starts the container with an arbitrary uid which is
member of the root group. For more information please consult
https://docs.openshift.org/latest/creating_images/guidelines.html.

dumb-init is added to have a proper PID 1. bash should not run as PID 1
as this could lead to improper container shutdown.
2017-08-28 21:09:42 +02:00
TheAssassin
28d9ac9b1f Switch to built in rails server 2017-07-09 21:38:43 +02:00
TheAssassin
8229cca1e8 Add missing dependency to Dockerfile 2017-07-09 21:38:43 +02:00
TheAssassin
f15fe9ddb0 Docker support for production use
This commit adds a Docker infrastructure that is ready for production
use. It is meant to simplify the deployment of OSEM for everyone who
wants to host their own instances.

It includes many features like data persistence, automatic secret key
generation and persistence and automatic database initialization and
upgrading. This should make updating the Docker container as easy as
possible.
2017-07-09 21:38:43 +02:00