19 Commits

Author SHA1 Message Date
Robert Schäfer
9e28704d9b Fix all cypress tests but one
@appinteractive, it's super strange but apparently the JWT has to be
enclosed in quotes whereas the MAPBOX_TOKEN must not be enclosed. This
commit fixes almost all tests running in the docker containers on my
machine. The remaining test case is:
```
About me and and location
I set my location to "Mecklenburg-Vorpommern" (example #2)
```

@appinteractive when I try to repeat the cypress test on my machine I
get no results for "Mecklenburg-Vorpommern" only cities and states. can
you check if regions really work?
2019-01-15 01:29:38 +01:00
Robert Schäfer
75ee9bf9b4 Fix seed data in docker environment
@appinteractive

Running
```
docker-compose -f ../Nitro-Backend/docker-compose.yml -f ../Nitro-Backend/docker-compose.travis.yml up
```
from the Nitro-Web folder gives me an error when running seed data.

The configuration in this commit fixes it on my machine. I guess that
will fix the frontend build, too.
2019-01-14 21:50:42 +01:00
Robert Schäfer
f4f69cfe0f Quote JWT Token (consistency) 2019-01-11 17:59:06 +01:00
Robert Schäfer
fb3c169f65 Add missing env variable to docker-compose.yml
@appinteractive always run the docker-compose up workflow at least once.
2019-01-11 14:29:56 +01:00
Robert Schäfer
bef8aa1d6a Reduce docker image size with multistage build
We don't need development dependencies in production. I also added the
BUILD_COMMIT environment variable to the image for convenience.
2018-12-14 22:41:13 +01:00
Robert Schäfer
ad66dd1b85 Give hc-network a name
I was wrong. It's not the container name but I forgot simply to give the
network the very same name as specified in the docker-compose.yml of the
frontend
2018-12-08 13:33:38 +01:00
Robert Schäfer
b4c92ec29a Remove xip.io hack
After we proxy API requests through the server-side-rendered frontend
there is no need to use xip.io anymore. However, if you "join" services
to a named network at arbitrary times, the DNS of docker-compose only
works if you assign a name to the container. Thus I left `backend` as a
container name.
2018-12-08 13:17:43 +01:00
Grzegorz Leoniec
2fb239de7c fixed docker-compose to use humanconnection/nitro-backend:latest 2018-11-30 09:34:31 +01:00
Grzegorz Leoniec
fa2c3fc24b shortened GRAPHQL_LISTEN_PORT to GRAPHQL_PORT 2018-11-21 15:30:26 +01:00
Robert Schäfer
e81f2344c3 Fix README 2018-11-02 13:59:37 +01:00
Robert Schäfer
0699b22137 Move volume declaration for backend to .override
+ lowercase working directory
+ download plugins to correct location /var/lib/neo4j/plugins
2018-11-02 11:22:38 +01:00
Robert Schäfer
8c30959de8 Move kompose incompatible parts to .override
Only version 3.7 is left, changing it would create a version mismatch.
2018-11-02 11:14:29 +01:00
Grzegorz Leoniec
99531a3f7b
Merge pull request #11 from appinteractive/create_volumes_for_backend
Add volumes to use docker for development
2018-11-01 23:49:16 +01:00
Robert Schäfer
f3c0678611 Add volumes to use docker for development 2018-11-01 14:11:06 +01:00
Robert Schäfer
8aa3fea718 Expose neo4j-browser ports
This helps developers to access the neo4j database from the browser.
Visit http://localhost:7474/ to see it in action.
2018-10-31 17:44:56 +01:00
Robert Schäfer
2ab1b0778c Use xip.io trick for server/client side rendering 2018-10-29 23:39:49 +01:00
Robert Schäfer
5f102f7d98 Custom Dockerfile to install apoc plugin in neo4j 2018-10-23 23:51:06 +02:00
Robert Schäfer
91fb18f77d DB volume (for cleaning) + Naming: server->backend 2018-10-19 23:18:22 +02:00
Robert Schäfer
cbf83273fb Provide installation with docker 2018-10-19 23:06:59 +02:00