Skip to content

Commit b39907e

Browse files
updated readme file (#52)
* new geolite database and exclude ips * updated readme with excluded ips documentationm
1 parent c9a763f commit b39907e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ goaccess:
5151
- DEBUG=False #optional
5252
- BASIC_AUTH=False #optional
5353
- BASIC_AUTH_USERNAME=user #optional
54-
- BASIC_AUTH_PASSWORD=pass #optional
54+
- BASIC_AUTH_PASSWORD=pass #optional
55+
- EXCLUDE_IPS=127.0.0.1 #comma delimited list
5556
ports:
5657
- '7880:7880'
5758
volumes:
@@ -75,7 +76,8 @@ goaccess:
7576
- DEBUG=False #optional
7677
- BASIC_AUTH=False #optional
7778
- BASIC_AUTH_USERNAME=user #optional
78-
- BASIC_AUTH_PASSWORD=pass #optional
79+
- BASIC_AUTH_PASSWORD=pass #optional
80+
- EXCLUDE_IPS=127.0.0.1 #comma delimited
7981
```
8082
8183
| Parameter | Function |
@@ -85,6 +87,7 @@ goaccess:
8587
| `-e BASIC_AUTH=True/False` | (Optional) Defaults to False. Set to True to enable nginx basic authentication. Docker container needs to stopped or restarted each time this flag is modified. This allows for the .htpasswd file to be changed accordingly. |
8688
| `-e BASIC_AUTH_USERNAME=user` | (Optional) Requires BASIC_AUTH to bet set to True. Username for basic authentication. |
8789
| `-e BASIC_AUTH_PASSWORD=pass` | (Optional) Requires BASIC_AUTH to bet set to True. Password for basic authentication. |
90+
| `-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 |
8891

8992
Thanks to https://github.com/GregYankovoy for the inspiration, and for their nginx.conf :)
9093

0 commit comments

Comments
 (0)