Merge remote-tracking branch 'origin/master' into admin-tags-and-categories

This commit is contained in:
Robert Schäfer 2018-12-10 00:53:31 +01:00
commit 0b01ab3d01
3 changed files with 16 additions and 7 deletions

View File

@ -0,0 +1,13 @@
version: '3.7'
services:
webapp:
volumes:
- .:/nitro-web
- node_modules:/nitro-web/node_modules
- node_modules_styleguide:/nitro-web/styleguide/node_modules
command: yarn run dev
volumes:
node_modules:
node_modules_styleguide:

View File

@ -2,17 +2,13 @@ version: '3.7'
services:
webapp:
build:
context: .
image: humanconnection/nitro-web:latest
build: .
ports:
- 3000:3000
- 8080:8080
networks:
- hc-network
volumes:
- .:/HC-WebApp
- node_modules:/HC-WebApp/node_modules
command: yarn run dev
environment:
- HOST=0.0.0.0
- BACKEND_URL=http://backend:4000

View File

@ -1,5 +1,5 @@
export default function({ app }) {
const backendUrl = process.BACKEND_URL || 'http://localhost:4000'
const backendUrl = process.env.BACKEND_URL || 'http://localhost:4000'
return {
httpEndpoint: process.server ? backendUrl : '/api',
httpLinkOptions: {