diff --git a/docker-compose.yml b/docker-compose.yml index bfcd17b..de24456 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -15,25 +15,25 @@ services: - postgres - mysql environment: - POSTGRES_HOST: postgres + POSTGRES_HOST: mito-test-postgres POSTGRES_USER: mito POSTGRES_PASS: mito - MYSQL_HOST: mysql + MYSQL_HOST: mito-test-mysql MYSQL_USER: root MYSQL_PASS: mito postgres: container_name: mito-postgres + hostname: mito-test-postgres image: "postgres:10" - restart: always environment: POSTGRES_USER: mito POSTGRES_PASSWORD: mito mysql: container_name: mito-mysql + hostname: mito-test-mysql image: "mysql:8" command: --default-authentication-plugin=mysql_native_password - restart: always environment: MYSQL_ROOT_PASSWORD: mito