3 Commits

Author SHA1 Message Date
Robert Schäfer
82c679aaf1 Check the environment variables early on
I was missing NEO4J_URI and was told very late - let's check env vars at
the very beginning.
2019-02-04 21:42:44 +01:00
Robert Schäfer
01a145be29 Container db-migration-worker need no volumes
You can simply run `docker-compose exec db-migration-worker migrate` and
that's it. Of course you have to provide all the environment variables.
2019-02-04 17:49:48 +01:00
Robert Schäfer
5492b282bc Refactoring: No uploads/ vol,access neo4j directly
Digital Ocean does not support shared directories. So we have to uploads
the images in `/uploads` via `kubectl cp` or something similar.
Likewise, it is not possible to share the exported mongodb .json files
with neo4j container. Therefore let's install `cypher-shell`, included
in `neo4j` package, to directly open a neo4j connection and bulk import
the data.
2019-02-04 14:31:40 +01:00