20 lines
444 B
Plaintext
Raw Normal View History

2023-04-19 20:21:31 -06:00
image: varnish:7.3-alpine
command: "-p default_keep=300"
ports:
2023-04-23 18:34:57 -06:00
- "80:80/tcp"
2023-04-19 20:21:31 -06:00
- "443:443/tcp"
- "443:443/udp"
2023-04-23 18:38:22 -06:00
sysctls:
2023-04-23 18:35:59 -06:00
net.ipv4.ip_unprivileged_port_start: 0
2023-04-19 20:21:31 -06:00
environment:
- VARNISH_SIZE=2G
tmpfs:
2023-04-23 18:42:10 -06:00
- /var/lib/varnish/varnishd:exec
2023-04-19 20:21:31 -06:00
volumes:
2023-04-23 18:12:52 -06:00
- "/etc/lixonet/${netname}/.config/varnish:/etc/varnish"
2023-04-19 20:21:31 -06:00
depends_on:
- tinc
restart: always
2023-04-19 20:29:36 -06:00
networks:
2023-04-19 20:31:02 -06:00
internal: