diff --git a/docker-compose.yml b/docker-compose.yml index a947a285ae..07540c873b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -19,6 +19,8 @@ services: MYSQL_DATABASE: mysql MYSQL_ROOT_PASSWORD: mysecretpassword MYSQL_ROOT_HOST: '%' + profiles: + - mysql postgresql: image: "postgres:15" @@ -39,6 +41,8 @@ services: POSTGRES_DB: postgres POSTGRES_PASSWORD: mysecretpassword POSTGRES_USER: postgres + profiles: + - postgres postgresql13: image: "postgres:13" @@ -49,6 +53,8 @@ services: POSTGRES_DB: postgres POSTGRES_PASSWORD: mysecretpassword POSTGRES_USER: postgres + profiles: + - postgres postgresql12: image: "postgres:12" @@ -59,6 +65,8 @@ services: POSTGRES_DB: postgres POSTGRES_PASSWORD: mysecretpassword POSTGRES_USER: postgres + profiles: + - postgres postgresql11: image: "postgres:11" @@ -68,4 +76,6 @@ services: environment: POSTGRES_DB: postgres POSTGRES_PASSWORD: mysecretpassword - POSTGRES_USER: postgres \ No newline at end of file + POSTGRES_USER: postgres + profiles: + - postgres \ No newline at end of file