Okty-io / okty-config

Configuration repository of the simplest application to create docker projects
https://github.com/Okty-io/okty
GNU General Public License v3.0
13 stars 11 forks source link

Remove ports for mysql service in SF4 template #119

Closed cgrandval closed 5 years ago

cgrandval commented 5 years ago

When using the app, it seems you decided to not setting the ports for mysql (and others services) if it's the same for the host and the container.

But when creating an env from the Symfony 4 template, you set that:

mariadb:
        image: 'mariadb:10.3'
        ports:
            - '3306:3306'
        environment:
            - MYSQL_DATABASE=docker
            - MYSQL_USER=docker
            - MYSQL_PASSWORD=s3cr3t
            - MYSQL_RANDOM_ROOT_PASSWORD=yes