GregYankovoy / docker-goaccess

goaccess reverse proxied through nginx for ease of use
MIT License
32 stars 14 forks source link

Support for read-only volumes #14

Open fatflyingpigs opened 3 years ago

fatflyingpigs commented 3 years ago

Not sure why goaccess would need write or execute access to my logs. Trying to run the volume as read-only results with:


...
chown: /opt/log/error.log.14.gz: Read-only file system
...```

At the very end it will give a `nginx: [alert] could not open error log file: open() "/var/lib/nginx/logs/error.log" failed (13: Permission denied)`
GregYankovoy commented 3 years ago

GoAccess does not require write access to the logs. However, nginx is used in tandem with goaccess in this container to centralize goaccess services through a single port, and fix some strange websockets behavior. I believe nginx attempts to create an error.log file if it does not exist, and/or make sure it can write to it.

masterwishx commented 2 years ago

GoAccess does not require write access to the logs. However, nginx is used in tandem with goaccess in this container to centralize goaccess services through a single port, and fix some strange websockets behavior. I believe nginx attempts to create an error.log file if it does not exist, and/or make sure it can write to it.

What is path in unraid docker should be for /opt/log im using NginxProxyManager ? im having same error