mirror of
https://github.com/HangarMC/Hangar.git
synced 2024-11-21 01:21:54 +08:00
try to fix frontend host
This commit is contained in:
parent
1dbe8ab324
commit
04fff50edb
@ -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"
|
||||
|
@ -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: {
|
||||
|
Loading…
Reference in New Issue
Block a user