try to fix frontend host

This commit is contained in:
MiniDigger 2021-02-08 00:02:17 +01:00
parent 1dbe8ab324
commit 04fff50edb
2 changed files with 4 additions and 1 deletions

View File

@ -10,6 +10,8 @@ services:
- 'backend'
environment:
proxyHost: "http://hangar_new_backend:8080"
authHost: "http://hangar_new_auth:8000"
host: "0.0.0.0"
stdin_open: true
labels:
- "traefik.enable=true"

View File

@ -9,6 +9,7 @@ require('dotenv').config();
const proxyHost = process.env.proxyHost || 'http://localhost:8080';
const authHost = process.env.authHost || 'http://localhost:8000';
const host = process.env.host || 'localhost';
export default {
telemetry: false,
@ -142,7 +143,7 @@ export default {
server: {
port: 3000,
host: 'localhost',
host: host,
},
loading: {