mirror of
https://github.com/bensuperpc/infrastructure.git
synced 2024-12-22 00:34:26 +01:00
Update dufs and caddy logs
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
parent
0745869554
commit
41fe67ba58
@ -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/*
|
||||||
|
@ -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:
|
||||||
|
7
infrastructure/dufs/env/dufs.env
vendored
7
infrastructure/dufs/env/dufs.env
vendored
@ -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|@/"
|
||||||
|
Loading…
Reference in New Issue
Block a user