campsych / concerto-platform

Concerto Platform - Open-Source Online Adaptive Testing Platform
https://concertoplatform.com/
Apache License 2.0
153 stars 88 forks source link

External connect Mysql #277

Closed frjoao closed 4 years ago

frjoao commented 4 years ago

Concerto Platform version

10

Expected behavior

Connect with third-party data visualization tools

Actual behavior

MySQL is not exposed outside the docker

Steps to reproduce the issue

We did the installation following the AWS walkthrough. But we saw that Docker's MySQL is not exposed, we need to connect this data with a dashboard visualization tool

bkielczewski commented 4 years ago

Hi. That's on purpose. Exposing things by default is bad. You can expose it yourself if you need to.

Add:

ports:
  - 3306:3306

To your docker-compose.yml somewhere under services: database:.

See Docker Compose docs for more information.