compose edit

This commit is contained in:
2025-01-03 11:26:46 +00:00
parent f69ef202dc
commit 27e55a258a

View File

@@ -1,24 +1,24 @@
services: services:
goaccess: goaccess:
image: 'xavierh/goaccess-for-nginxproxymanager:latest' image: 'xavierh/goaccess-for-nginxproxymanager:latest'
container_name: goaccess container_name: goaccess
restart: always restart: always
ports: ports:
- '7880:7880' - '7880:7880'
environment: environment:
- TZ=Europe/Oslo - TZ=Europe/Oslo
- SKIP_ARCHIVED_LOGS=False #optional - SKIP_ARCHIVED_LOGS=False #optional
- DEBUG=False #optional - DEBUG=False #optional
- BASIC_AUTH=False #optional - BASIC_AUTH=False #optional
- BASIC_AUTH_USERNAME=admin #optional - BASIC_AUTH_USERNAME=admin #optional
- BASIC_AUTH_PASSWORD=Password #optional - BASIC_AUTH_PASSWORD=Password #optional
- EXCLUDE_IPS=127.0.0.1 #optional - comma delimited - EXCLUDE_IPS=127.0.0.1 #optional - comma delimited
- LOG_TYPE=NPM #optional - more information below - LOG_TYPE=NPM #optional - more information below
- ENABLE_BROWSERS_LIST=True #optional - more information below - ENABLE_BROWSERS_LIST=True #optional - more information below
- CUSTOM_BROWSERS=Kuma:Uptime,TestBrowser:Crawler #optional - comma delimited, 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 - 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 - 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 - 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: volumes:
- /path/to/host/nginx/logs:/opt/log - /home/steffen/prox/nginxproxymanager-data/logs:/opt/log
- /path/to/host/custom:/opt/custom #optional, required if using log_type = CUSTOM - /path/to/host/custom:/opt/custom #optional, required if using log_type = CUSTOM