23 Commits

Author SHA1 Message Date
Robert Schäfer
0b075830bc Put many configuration files in one folder 2019-02-02 13:38:43 +01:00
Robert Schäfer
15f3915394 Adding dashboard deployment for digital ocean 2019-02-02 13:17:23 +01:00
Robert Schäfer
671826e060 Bundle all configuration in one folder staging/ 2019-02-02 12:40:29 +01:00
Robert Schäfer
af15ec6393 Fix certain configuration for Digital Ocean 2019-02-02 00:00:29 +01:00
Robert Schäfer
d8c23c3452 Reproduced the whole setup locally with success 2019-02-01 19:53:09 +01:00
Robert Schäfer
6fed4797ed Add commits to configuration to deploy :latest tag
The recommended way to update a kubernetes deployment to a new image is
to change the image tag. However, our build server is configured to push
every commit of the `master` branch to docker hub to the respective
repository and tag `:latest`. So adding some configuration that can be
changed seems to be a trick to re-deploy the `:latest` image.

See here:
https://stackoverflow.com/a/51835397
2019-02-01 19:23:00 +01:00
Robert Schäfer
ad3a974076 Base64 encode default secrets in template
The JWT_SECRET is taken from the current default secret in
`Nitro-Backend`, the MONGODB_PASSWORD is just the label encoded.
2019-02-01 01:56:12 +01:00
Robert Schäfer
9b5f88d7ac Kubernetes best practices:
* put many configurations in one file
* expose services before you start pods

See: https://kubernetes.io/docs/concepts/configuration/overview/
2019-02-01 01:25:05 +01:00
Robert Schäfer
e8b212f5cc Backend is accessible only from internal network
I think this is better. For development it might be interesting to have
access to the backend but I think one should do development with
docker-compose not minikube and such.
2019-02-01 01:09:41 +01:00
Robert Schäfer
7b981c06d0 Point web service to backend of internal network 2019-02-01 00:23:53 +01:00
Robert Schäfer
c6661def31 Improve README 2019-01-31 23:52:24 +01:00
Robert Schäfer
bbfe39e076 Use folders for groups of YAML files
This keeps our configuration DRY and helps us to save keystrokes.
2019-01-31 23:27:23 +01:00
Robert Schäfer
5cd0485117 Point the backend to the local neo4j service 2019-01-31 18:19:19 +01:00
Robert Schäfer
330fd9a8e9 Enable apoc to run neo4j import 2019-01-30 20:15:40 +01:00
Robert Schäfer
8a74f452a9 Create persistent volumes for minikube
Running the import works in minikube!
2019-01-30 19:34:45 +01:00
Robert Schäfer
ad55cc03e5 Remove obsolete deployment files 2019-01-28 18:46:52 +01:00
Robert Schäfer
7d7e34b132 Add deployment for db-migation-worker 2019-01-28 18:33:21 +01:00
Grzegorz Leoniec
4d973ede81
Merge pull request #3 from Human-Connection/add_instructions_for_exposing_services_with_minikube
Add instructions to expose/access the services
2019-01-25 21:30:43 +01:00
Robert Schäfer
4f9f26a1da Add instructions to expose/access the services 2019-01-25 18:26:22 +01:00
Grzegorz Leoniec
687192d521
Added Mapbox token 2019-01-25 15:23:32 +01:00
Grzegorz Leoniec
e74cfd62aa
Merge pull request #2 from Human-Connection/add-documentation-fix-kubectl-commands
Add instructions to docs, fix kubectl commands
2019-01-25 08:07:30 +01:00
Matt Rider
1dc8e13dfa Add instructions to docs, fix kubectl commands 2019-01-22 10:43:26 -02:00
Grzegorz Leoniec
81e211f6fb
Initial commit 2019-01-17 14:10:38 +01:00