vladk1m0 / docker-owa Goto Github PK
View Code? Open in Web Editor NEWOpen Web Analytics docker image based on Alpine Linux
License: MIT License
Open Web Analytics docker image based on Alpine Linux
License: MIT License
By default, DockerFile is always pulling 1.6.2 version. Is there a way to pull latest 1.6.9 version?
Here is snippet from my docker compose yml file,
www:
build: .
container_name: www
restart: always
volumes:
- ./public_html:/var/www/html
depends_on:
- db
links:
- db:db
ports:
- 80:80
owa:
image: vladk1m0/docker-owa:latest
container_name: open-web-analytics
depends_on:
- db
- www
ports:
- 8081:80
links:
- db:db
logging:
driver: json-file
options:
max-size: "10m"
max-file: "5"
and the thing is, i want to track the container "www" which in my situation this owa container refuses incoming connections outside it's world. Well except it only accepts from the localhost.
How Refusing:
I have tested it by curl using curl owa-ip-address:8081
in the bash of 'www' container.
Result: curl: (7) Failed to connect to 172.21.0.5 port 8081: Connection refused
Or does it have to be installed with the web site that needed to be tracked?
Hi, trying this out as a replacement to PIWIK, but running into an issue when running the install.
After running docker-compose up
I get to the setup screen, and enter in the DB credentials properly.
But then the MYSQL server starts throwing these errors:
open-web-analytics | 2018/07/05 13:00:45 [error] 14#14: *1 FastCGI sent in stderr: "pers in /var/www/html/plugins/db/owa_db_mysql.php on line 112
open-web-analytics | PHP message: PHP Warning: mysqli_set_charset() expects parameter 1 to be mysqli, boolean given in /var/www/html/plugins/db/owa_db_mysql.php on line 117
open-web-analytics | PHP message: PHP Warning: mysqli_connect(): Server sent charset (255) unknown to the client. Please, report to the developers in /var/www/html/plugins/db/owa_db_mysql.php on line 112
open-web-analytics | PHP message: PHP Warning: mysqli_connect(): (HY000/2054): Server sent charset unknown to the client. Please, report to the developers in /var/www/html/plugins/db/owa_db_mysql.php on line 112
open-web-analytics | PHP message: PHP Warning: mysqli_set_charset() expects parameter 1 to be mysqli, boolean given in /var/www/html/plugins/db/owa_db_mysql.php on line 117
open-web-analytics | PHP message: PHP Warning: mysqli_connect(): Server sent charset (255) unknown to the client. Please, report to the developers in /var/www/html/plugins/db/owa_db_mysql.php on line 112
open-web-analytics | PHP message: PHP Warning: mysqli_connect(): (HY000/2054): Server sent charset unknown to the client. Please, report to the developers in /var/www/html/plugins/db/owa_db_mysql.php on line 112
open-web-analytics | PHP message: PHP Warning: mysqli_set_charset() expects parameter 1 to be mysqli, boolean given in /var/www/html/plugins/db/owa_db_mysql.php on line 117
open-web-analytics | PHP message: PHP Warning: mysqli_connect(): Server sent charset (255) unknown to the client. Please, report to the developers in /var/www/html/plugins/db/owa_db_mysql.php on line 112
open-web-analytics | PHP message: PHP Warning: mysqli_connect(): (HY000/2054): Server sent charset unknown to the client. Please, report to the developers in /var/www/html/plugins/db/owa_db_mysql.php on line 112
open-web-analytics | PHP message: PHP Warning: mysqli_set_charset() expects parameter 1 to be mysqli, boolean given in /var/www/html/plugins/db/owa_db_mysql.php on line 117
open-web-analytics | PHP message: PHP Warning: mysqli_connect(): Server sent charset (255) unknown to the client. Please, report to the developers in /var/www/html/plugins/db/owa_db_mysql.php on line 11
any ideas?
Thanks
Just a couple suggestions to your compose config:
3309:3309
is excessive (also opens the port on the host for no reason)owa-config.php
directly if owa-config.php
file not foundI setup nginx with a proxy to localhost:8080 and the install page loads fine, but when I hit the submit button I get a 500. Nothing valuable in the nginx error logs.
I'm trying to understand how to set config options in the container, specifically e-mail server settings for password resets. According to the owa wiki, you modify the owa-config.php file. Where's this file in this container? I'm using docker-compose. Do I need to set a persistent volume to somewhere?
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.