24 lines
1.3 KiB
YAML
24 lines
1.3 KiB
YAML
services:
|
|
goaccess:
|
|
image: 'xavierh/goaccess-for-nginxproxymanager:latest'
|
|
container_name: goaccess
|
|
restart: always
|
|
ports:
|
|
- '7880:7880'
|
|
environment:
|
|
- TZ=Europe/Oslo
|
|
- SKIP_ARCHIVED_LOGS=False #optional
|
|
- DEBUG=False #optional
|
|
- BASIC_AUTH=False #optional
|
|
- BASIC_AUTH_USERNAME=admin #optional
|
|
- BASIC_AUTH_PASSWORD=Password #optional
|
|
- EXCLUDE_IPS=127.0.0.1 #optional - comma delimited
|
|
- LOG_TYPE=NPM #optional - more information below
|
|
- ENABLE_BROWSERS_LIST=True #optional - more information below
|
|
- CUSTOM_BROWSERS=Kuma:Uptime,TestBrowser:Crawler #optional - comma delimited, more information below
|
|
- HTML_REFRESH=5 #optional - Refresh the HTML report every X seconds. https://goaccess.io/man
|
|
- KEEP_LAST=30 #optional - Keep the last specified number of days in storage. https://goaccess.io/man
|
|
- PROCESSING_THREADS=1 #optional - This parameter sets the number of concurrent processing threads in the program's execution, affecting log data analysis, typically adjusted based on CPU cores. Default is 1. https://goaccess.io/man
|
|
volumes:
|
|
- /home/steffen/prox/nginxproxymanager-data/logs:/opt/log
|
|
# - /path/to/host/custom:/opt/custom #optional, required if using log_type = CUSTOM |