Skip to content

Commit 00c745d

Browse files
authored
varnish_end_user_cache volume (#279)
1 parent fe878f2 commit 00c745d

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

docker-compose.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ secrets:
1717
# file: ./secrets/credentials.trig
1818
volumes:
1919
varnish_frontend_cache:
20+
varnish_end_user_cache:
2021
services:
2122
nginx:
2223
image: nginx:1.23.3
@@ -153,8 +154,10 @@ services:
153154
depends_on:
154155
- linkeddatahub
155156
tmpfs: /var/lib/varnish/varnishd:exec
157+
volumes:
158+
- varnish_end_user_cache:/var/lib/varnish
156159
entrypoint: varnishd
157-
command: [ "-F", "-f", "/etc/varnish/default.vcl", "-a", "http=:80,HTTP", "-a", "proxy=:8443,PROXY", "-p", "feature=+http2", "-s", "malloc,1G", "-t", "86400", "-p", "timeout_idle=60s" ] # -F: foreground, -f: config, -a: listeners, -p: http2 + idle timeout, -s: storage, -t: TTL
160+
command: [ "-F", "-f", "/etc/varnish/default.vcl", "-a", "http=:80,HTTP", "-a", "proxy=:8443,PROXY", "-p", "feature=+http2", "-s", "file,/var/lib/varnish/storage.bin,3G", "-t", "86400", "-p", "timeout_idle=60s" ] # -F: foreground, -f: config, -a: listeners, -p: http2 + idle timeout, -s: storage, -t: TTL
158161
email-server:
159162
image: namshi/smtp
160163
environment:

0 commit comments

Comments
 (0)