diff --git a/docker-compose/GoAccess/docker-compose.yml b/docker-compose/GoAccess/docker-compose.yml new file mode 100644 index 0000000..11b5879 --- /dev/null +++ b/docker-compose/GoAccess/docker-compose.yml @@ -0,0 +1,24 @@ +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: + - /path/to/host/nginx/logs:/opt/log + - /path/to/host/custom:/opt/custom #optional, required if using log_type = CUSTOM \ No newline at end of file