2023-04-23 18:42:10 -06:00

20 lines
444 B
Plaintext

image: varnish:7.3-alpine
command: "-p default_keep=300"
ports:
- "80:80/tcp"
- "443:443/tcp"
- "443:443/udp"
sysctls:
net.ipv4.ip_unprivileged_port_start: 0
environment:
- VARNISH_SIZE=2G
tmpfs:
- /var/lib/varnish/varnishd:exec
volumes:
- "/etc/lixonet/${netname}/.config/varnish:/etc/varnish"
depends_on:
- tinc
restart: always
networks:
internal: