Open nagimov opened 5 years ago
There are some problem with mysql, I changed to following config to make it work. Still cant connect to mysql server , problem is with login
version: '3' services: app: image: vladk1m0/docker-owa:latest container_name: open-web-analytics depends_on:
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
@nagimov thank you for your improovement suggestion!
Exposing container port 3306 to host in docker-compose deployment was configured by default to external access to Mysql with DB management tool. I'am agree with you and remove default port eosing in commit 69a1179
Can't include owa-config.php with default Mysql connection settings in OWA container, because:
I didn't modify .env file before I ran docker-compose up, I have now changed it how do I reinstall?
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 ifowa-config.php
file not found