Installing OpenProject using docker

Hi Folks,

I have successfuly insltalled OpenProject using docker on my VirtualBox running RHEL7. I’m able to view the Openproject main page. However when i try to change database from default Postgresql to Mysql, I’m not able to start the server. Here is the command I used.

P/s: Mysql is running on a same OS with manual installation (without using docker)

docker run -d -p 8080:80 --name openproject -e SECRET_KEY_BASE=secret -e DATABASE_URL=mysql://root:mydbpass@localhost:3306/openproject -v /var/lib/openproject/pgdata:/var/lib/postgresql/9.4/main -v /var/lib/openproject/logs:/var/log/supervisor -v /var/lib/openproject/static:/var/db/openproject openproject/community:6

Could anyone enlighten me what was went wrong?

Thank you