Update and rename varnish to proxy-frontend

This commit is contained in:
Manevolent 2023-04-23 19:44:18 -06:00 committed by GitHub
parent 04e8d24824
commit b4c674c5ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
image: varnish:7.3-alpine image: nginx:stable-alpine
command: "-p default_keep=300" command: "-p default_keep=300"
ports: ports:
- "80:80/tcp" - "80:80/tcp"
@ -6,12 +6,10 @@
- "443:443/udp" - "443:443/udp"
sysctls: sysctls:
net.ipv4.ip_unprivileged_port_start: 0 net.ipv4.ip_unprivileged_port_start: 0
environment:
- VARNISH_SIZE=2G
tmpfs: tmpfs:
- "/var/lib/varnish/varnishd:uid=1000,gid=1000" - "/var/lib/varnish/varnishd:uid=1000,gid=1000"
volumes: volumes:
- "/etc/lixonet/${netname}/.config/varnish:/etc/varnish" - "/etc/lixonet/${netname}/.config/proxy-frontend:/etc/nginx"
depends_on: depends_on:
- tinc - tinc
restart: always restart: always