diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml index 87808b6..f74b274 100644 --- a/docker-compose.dev.yml +++ b/docker-compose.dev.yml @@ -1,7 +1,7 @@ version: "3.8" services: db: - image: "mariadb:10.5.6" + image: mysql:8.0.36 container_name: nest-db volumes: - dbdata:/var/lib/mysql @@ -34,6 +34,8 @@ services: - | /wait-for-it.sh db:3306 -t 15 yarn start:dev + env_file: + - .env networks: - app diff --git a/docker-compose.yml b/docker-compose.yml index 9d82e03..1531514 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,7 +1,7 @@ version: "3.8" services: db: - image: "mysql:5.7" + image: mysql:8.0.36 container_name: nestjs-test-db ports: - "3306:3306"