GoAccess for Nginx Proxy Manager Logs - Console Version
2.4K

Dependencies:
version: '3.3'
services:
goaccess_dc:
image: 'xavierh/goaccess-docker-console:latest'
container_name: goaccess_docker_console
restart: always
ports:
- '7881:7881'
environment:
- TZ=America/New_York
- SKIP_ARCHIVED_LOGS=False #optional
#optional
- EXCLUDE_IPS=127.0.0.1 #optional - comma delimited
volumes:
- /path/to/host/nginx/logs:/opt/log
If you have permission issues, you can add PUID and PGID with the correct user id that has read access to the log files.
version: '3.3'
services:
goaccess_dc:
image: 'xavierh/goaccess-docker-console:latest'
container_name: goaccess_docker_console
restart: always
ports:
- '7881:7881'
environment:
- PUID=0
- PGID=0
- TZ=America/New_York
- SKIP_ARCHIVED_LOGS=False #optional
#optional
- EXCLUDE_IPS=127.0.0.1 #optional - comma delimited
volumes:
- /path/to/host/nginx/logs:/opt/log
| Parameter | Function |
|---|---|
-e SKIP_ARCHIVED_LOGS=True/False | (Optional) Defaults to False. Set to True to skip archived logs, i.e. proxy-host*.gz |
-e EXCLUDE_IPS= | (Optional) IP Addresses or range of IPs delimited by comma refer to https://goaccess.io/man. For example: 192.168.0.1-192.168.0.100 or 127.0.0.1,192.168.0.1-192.168.0.100 |
time-format %T
date-format %d/%b/%Y
log_format [%d:%t %^] %^ %^ %s - %m %^ %v "%U" [Client %h] [Length %b] [Gzip %^] [Sent-to %^] "%u" "%R"
This product includes GeoLite2 data created by MaxMind, available from https://www.maxmind.com.
Content type
Image
Digest
sha256:f2d9dd311…
Size
173 MB
Last updated
over 3 years ago
docker pull xavierh/goaccess-docker-console