mirror of
https://github.com/KevinMidboe/infra-map.git
synced 2026-01-06 01:05:49 +00:00
compile varnish tmpl from docker-entrypoint script
also updates kubernetes resources to separate app & varnish into two different deployments
This commit is contained in:
@@ -5,10 +5,10 @@ services:
|
||||
build:
|
||||
context: varnish
|
||||
dockerfile: Dockerfile
|
||||
args:
|
||||
# sets build variables. Overridden by env, but has sane defaults
|
||||
IMAGE_HOST: ${IMAGE_HOST:-homeassistant.local}
|
||||
PROXY_HOST: ${PROXY_HOST:-app}
|
||||
environment:
|
||||
# sets environment variables. Overridden by env, but has sane defaults
|
||||
IMAGE_HOST: ${IMAGE_HOST:-homeassistant.local}
|
||||
PROXY_HOST: ${PROXY_HOST:-app}
|
||||
ports:
|
||||
- '6081:6081'
|
||||
depends_on:
|
||||
@@ -20,6 +20,7 @@ services:
|
||||
dockerfile: Dockerfile
|
||||
env_file: .env # sets container's environment
|
||||
environment:
|
||||
- ORIGIN=http://localhost:3000
|
||||
- NODE_ENV=production
|
||||
- PROTOCOL_HEADER=x-forwarded-proto
|
||||
- HOST_HEADER=x-forwarded-host
|
||||
|
||||
Reference in New Issue
Block a user