mirror of
https://github.com/KevinMidboe/infra-map.git
synced 2025-10-29 17:40:28 +00:00
cleanup console & landing page
This commit is contained in:
@@ -6,8 +6,9 @@ services:
|
||||
context: varnish
|
||||
dockerfile: Dockerfile
|
||||
args:
|
||||
HASS_HOST: 10.0.0.82
|
||||
FRONTEND_HOST: app
|
||||
# sets build variables. Overridden by env, but has sane defaults
|
||||
IMAGE_HOST: ${IMAGE_HOST:-homeassistant.local}
|
||||
PROXY_HOST: ${PROXY_HOST:-app}
|
||||
ports:
|
||||
- '6081:6081'
|
||||
depends_on:
|
||||
@@ -17,8 +18,9 @@ services:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
env_file: '.env'
|
||||
env_file: .env # sets container's environment
|
||||
environment:
|
||||
- NODE_ENV=production
|
||||
- PORT=3000
|
||||
- ORIGIN=http://localhost:3000
|
||||
- PROTOCOL_HEADER=x-forwarded-proto
|
||||
- HOST_HEADER=x-forwarded-host
|
||||
- PORT_HEADER=x-forwarded-port
|
||||
|
||||
Reference in New Issue
Block a user