Use tmpfs for watchdog's /tmp, reduce disk writes (#3923)

master
ValdikSS 2021-01-31 11:45:34 +03:00 committed by GitHub
parent 1bc0f0fa6b
commit 0a0d9e873e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -411,6 +411,8 @@ services:
#command: /watchdog.sh #command: /watchdog.sh
dns: dns:
- ${IPV4_NETWORK:-172.22.1}.254 - ${IPV4_NETWORK:-172.22.1}.254
tmpfs:
- /tmp
volumes: volumes:
- rspamd-vol-1:/var/lib/rspamd:z - rspamd-vol-1:/var/lib/rspamd:z
- mysql-socket-vol-1:/var/run/mysqld/:z - mysql-socket-vol-1:/var/run/mysqld/:z