bench: updated all bench

This commit is contained in:
Jun Kurihara 2025-05-20 22:33:06 +09:00
commit 5f7772d957
No known key found for this signature in database
GPG key ID: D992B3E3DE1DED23
4 changed files with 61 additions and 74 deletions

View file

@ -1,4 +1,3 @@
version: "3"
services:
nginx:
image: nginx:alpine
@ -28,7 +27,7 @@ services:
dockerfile: docker/Dockerfile
restart: unless-stopped
environment:
- LOG_LEVEL=info
- LOG_LEVEL=error # almost nolog
- LOG_TO_FILE=false
ports:
- 127.0.0.1:8080:8080
@ -47,7 +46,7 @@ services:
tty: false
privileged: true
volumes:
- ./nginx.conf:/etc/nginx/conf.d/default.conf:ro
- ./nginx.conf:/etc/nginx/conf.d/default.conf:ro # set as almost nolog
- /var/run/docker.sock:/tmp/docker.sock:ro
logging:
options:
@ -64,7 +63,7 @@ services:
restart: unless-stopped
tty: false
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile:ro
- ./Caddyfile:/etc/caddy/Caddyfile:ro # set as almost no log
networks:
bench-nw:
@ -82,7 +81,7 @@ services:
max-size: "10m"
max-file: "3"
volumes:
- ./sozu-config.toml:/etc/sozu/config.toml
- ./sozu-config.toml:/etc/sozu/config.toml # set as almost nolog
networks:
bench-nw: