Commit Graph

8 Commits

Author SHA1 Message Date
TheAssassin
93d5e360ca Merge dockerize commands 2017-07-09 21:38:43 +02:00
TheAssassin
13d6bf471d Wait for database to be started before running MySQL client command 2017-07-09 21:38:43 +02:00
TheAssassin
ad9ef4aba3 Fix secret key generation 2017-07-09 21:38:43 +02:00
TheAssassin
dd993b7448 Fix issue mentioned in osem/pull/1407
After the rebase (to update the PR with the latest changes), I had the
same issue @lguerard has had. I noticed that the rails server didn't
lisen on all interfaces any more, but bound the port to the loopback
device only. By adding the parameter `-b 0.0.0.0`, I restored the
previous behavior, and OSEM could be reached with the browser after it
started up (takes a few seconds).
2017-07-09 21:38:43 +02:00
TheAssassin
c592a19f2d Use rails secret to generate the secret key 2017-07-09 21:38:43 +02:00
TheAssassin
769643a642 Remove MySQL config file again as soon as possible 2017-07-09 21:38:43 +02:00
TheAssassin
28d9ac9b1f Switch to built in rails server 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