6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2025-02-08 20:28:24 +00:00
Régis Behmo 5a24056b8e Switch from "run" to "exec" for local initialisation
We ran into an issue when trying to run migrations when the MinIO plugin
is activated. As seen in issues #243 and #244, the
certificates.0003_data__default_modes migration requires access to
MinIO. To do so, the MinIO host must be reached. That means that SSL
certificates must be in place (if https is enabled) and that the nginx
server must be booted. However, it does not make sense to require that
the minio container depends on the nginx container. So, in effect, we
need a fully working platform to run migrations.

In a sense, this is better as it harmonises the init task with k8s: in
k8s, init was already run with exec.

Next step is to get rid of these ugly mysql-client/minio-client
containers that must be up at all times. It would be much simpler to
just exec the commands inside the mysql/minio containers.
2019-09-03 09:29:38 +02:00
..
2019-08-31 13:41:11 +02:00
2019-02-09 20:30:01 +01:00
2019-08-20 17:04:18 +02:00
2019-02-09 20:30:01 +01:00
2019-05-29 09:53:54 +02:00
2019-07-04 09:31:12 +08:00
2019-06-07 22:49:45 +02:00