skip to Main Content

Two MySQL docker container

I have a server that already run a MySQL server container on port 3306:3306 (build from a docker-compose.yml file) I would like to run another MySQL container on port 3307:3306 from another docker-compose.yml. The problem is that for the second…

VIEW QUESTION

docker-compose service names

I just started using docker-compose and I am enjoying it. I recently just created my first docker-compose file that simply connects sonarqube and postgres. Inside my docker-compose.yml file, whenever I define the database service with any other name besides "db",…

VIEW QUESTION

docker compose file giving an invalid type error

I have a docker compose file that looks like this: version: '3.8' services: db: image: mysql ports: - 3306:3306 environment: MYSQL_DATABASE: db MYSQL_ALLOW_EMPTY_PASSWORD: true however, I am getting this error when I run docker-compose up: The Compose file '.docker-compose.yml' is…

VIEW QUESTION
Back To Top
Search