Files
infra-map/docker-compose.yml
KevinMidboe 7d1f536af5 proxy through varnish
sets up varnish cache server with:
- custom cache per content type
- gzip
- configure app & hass backends
- varnish debug headers & X-Cache verbose cache header

also updates docker-compose, varnish/Dockerfile & drone.
2025-08-21 23:41:26 +02:00

22 lines
402 B
YAML

version: '3.8'
services:
app:
build: .
container_name: infra-map
ports:
- '3000:3000' # svelte-kit preview HTTP
varnish:
build: varnish
container_name: varnish-cache
ports:
- '6081:6081' # Varnish HTTP
environment:
- VARNISH_LISTEN_PORT=6081
command: >
varnishd
-F
-f /etc/varnish/default.vcl
-s malloc,256m
-a :6081