Update and rename varnish to proxy-frontend
This commit is contained in:
parent
04e8d24824
commit
b4c674c5ee
@ -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
|
Loading…
x
Reference in New Issue
Block a user