Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,26 @@ This is an Alpine linux container which builds GoAccess including GeoIP. It rev
```
docker run --name goaccess -p 7889:7889 -v /path/to/host/nginx/logs:/opt/log -v /path/to/goaccess/storage:/config -d gregyankovoy/goaccess
```
## Example with docker compose
`docker-compose.yml` file :
```
version: '2.1'

volumes:
goaccess-html:

services:
goaccess:
image: gregyankovoy/goaccess
container_name: goaccess
ports:
- 7889:7889
volumes:
- /path/to/host/nginx/logs:/opt/log
- /path/to/goaccess/storage:/config
- goaccess-html:/config/html
restart: unless-stopped
```

## Volume Mounts
- /config
Expand Down