Giter VIP home page Giter VIP logo

docker-owa's Introduction

Hi ๐Ÿ‘‹, I'm Vladislav

Software Engineer

  • ๐ŸŒฑ Iโ€™m currently learning Flutter, Rust, K8s, ML and ComputerVision
  • ๐Ÿ’ฌ Ask me about: Java, Tomcat, Maven, Spring, DSign, Docker, GitLab CI, Ansible, Nexus 3, Nginx, OpenLdap, PostgreSQL, RabbitMQ
  • ๐Ÿ“ซ How to reach me: [email protected]

๐Ÿงฐ Languages and Tools:

linux java spring apachetomcat graphql redis postgresql rabbitmq gradle apachemaven hadoop nginx docker ansible gitlab grafana prometheus Keycloak dart flutter go rust git

Connect with me: https://www.facebook.com/profile.php?id=100015848298743


vladk1m0's github stats

docker-owa's People

Contributors

vladk1m0 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

docker-owa's Issues

docker-compose related suggestions

Just a couple suggestions to your compose config:

  • you don't need to expose mysql port on the host if you tie it through bridged network, so 3309:3309 is excessive (also opens the port on the host for no reason)
  • I'd also suggest copying mysql connection settings from env file to owa-config.php directly if owa-config.php file not found

owa image refuses connection from other running containers.

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?

Cannot complete installation with docker-compose

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

supervisord runs as root

When running in kubernetes, you cannot run processes in root. This is bad practice. What is the point of using supervisord?

1 container should be nginx
1 container should be owa
1 container should be mysql

OWA configuration options

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.