Created
March 5, 2019 04:57
-
-
Save DaysJan/e31fa4bd9c9ee9fe7f7ae9e46a0af434 to your computer and use it in GitHub Desktop.
Revisions
-
DaysJan created this gist
Mar 5, 2019 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,15 @@ #!/bin/bash mkdir -p /srv/goaccess/{data,html} curl -o /srv/goaccess/data/goaccess.conf.default https://raw.githubusercontent.com/allinurl/goaccess/master/config/goaccess.conf cp /srv/goaccess/data/goaccess.conf.default /srv/goaccess/data/goaccess.conf docker run --restart=always -d -p 7890:7890 \ -v "/srv/goaccess/data:/srv/data" \ -v "/srv/goaccess/logs:/srv/logs" \ -v "/var/log/nginx/access.log:/srv/logs/access.log" \ -v "/srv/goaccess/html:/srv/report" \ --name=goaccess allinurl/goaccess