Update dufs and caddy logs

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
Bensuperpc 2024-09-02 21:16:50 +02:00
parent 0745869554
commit 41fe67ba58
3 changed files with 9 additions and 15 deletions

View File

@ -2,10 +2,16 @@
email bensuperpc@gmail.com email bensuperpc@gmail.com
key_type p384 key_type p384
log { log file-log {
output file /data/logs/access.log output file /data/logs/access.log
format json format json
} }
log {
output stdout
format json
level ERROR
}
} }
import bensuperpc.org/* import bensuperpc.org/*

View File

@ -16,15 +16,6 @@ services:
- infra-network - infra-network
security_opt: security_opt:
- no-new-privileges:true - no-new-privileges:true
read_only: false
deploy:
resources:
limits:
cpus: '0.5'
memory: 512M
reservations:
cpus: '0.001'
memory: 20M
volumes: volumes:
dufs_data: dufs_data:

View File

@ -2,9 +2,6 @@ DUFS_BIND=0.0.0.0
DUFS_PORT=5000 DUFS_PORT=5000
DUFS_SERVE_PATH=/data DUFS_SERVE_PATH=/data
DUFS_HIDDEN=tmp,*.log,*.lock DUFS_HIDDEN=tmp,*.log,*.lock
#DUFS_ALLOW_ALL=true DUFS_ALLOW_ALL=true
DUFS_ALLOW_SEARCH=true
DUFS_ALLOW_SYMLINK=false
DUFS_ALLOW_ARCHIVE=true
DUFS_COMPRESS=medium DUFS_COMPRESS=medium
DUFS_AUTH="admin:heqihlOfBmJDESGFlpbPi7P7Mi6F7RkV@/data:rw" DUFS_AUTH="admin:heqihlOfBmJDESGFlpbPi7P7Mi6F7RkV@/:rw|@/"