First of all thank you for sharing your container, it saved me quite a lot of time !
I'm trying to make my own version of it updated to v1.4.3 and I had some questions about how you build your image :
What is the purpose of the argument geolite_version ?
I obtained a permalink from maxmind to download the GeoLite2 City database and putting this URL in the argument geolite_city_link worked for me but I'm wondering if I'm missing something.
When creating the final image I encountered the following error :
Step 10/13 : RUN chmod +x /usr/local/bin/goaccess.sh && chmod -R 777 /var/tmp/nginx
---> Running in dd18c52bdd78
chmod: /var/tmp/nginx: No such file or directory
Commenting the chmod somehow got me a working image but, again, what do I miss here ?
I believe I intended to use this to be able to substitute geolite versions on build time. However, due to the new download mechanisms I was not able to do this. It can safely be removed.
Are you installing nginx in alpine? If you are using a different base container, the nginx tmp stuff may reside in a different location (I believe nginx wouldn't start up unless I modified the permissions of this folder. The official nginx container probably uses better practices). Keep in mind that nginx is used within this container to front goaccess through a single endpoint. This step may be unnecessary depending on how you are configuring your container/user/permissions/nginx/etc
Let me know if you have any other questions and I'll do my best to answer them.
Hi,
First of all thank you for sharing your container, it saved me quite a lot of time ! I'm trying to make my own version of it updated to v1.4.3 and I had some questions about how you build your image :
geolite_version
?I obtained a permalink from maxmind to download the GeoLite2 City database and putting this URL in the argument
geolite_city_link
worked for me but I'm wondering if I'm missing something.Commenting the chmod somehow got me a working image but, again, what do I miss here ?
Cheers