Skip to content

Commit

Permalink
Update docker-compose.yml file
Browse files Browse the repository at this point in the history
  • Loading branch information
arteymix committed Dec 11, 2023
1 parent bb8cda4 commit 738fecf
Showing 1 changed file with 38 additions and 36 deletions.
74 changes: 38 additions & 36 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,36 +1,38 @@
mysql56:
image: mysql:5.6
ports:
- "3306:3306"
environment:
- MYSQL_USER=springuser
- MYSQL_PASSWORD=ThePassword
- MYSQL_DATABASE=db_example
- MYSQL_RANDOM_ROOT_PASSWORD=true
mysql57:
image: mysql:5.7
ports:
- "3306:3306"
environment:
- MYSQL_USER=springuser
- MYSQL_PASSWORD=ThePassword
- MYSQL_DATABASE=db_example
- MYSQL_RANDOM_ROOT_PASSWORD=true
mysql:
image: mysql:8.0
ports:
- "3306:3306"
environment:
- MYSQL_USER=springuser
- MYSQL_PASSWORD=ThePassword
- MYSQL_DATABASE=db_example
- MYSQL_RANDOM_ROOT_PASSWORD=true
mariadb:
image: mariadb:10.6
ports:
- "3306:3306"
environment:
- MARIADB_USER=springuser
- MARIADB_PASSWORD=ThePassword
- MARIADB_DATABASE=db_example
- MARIADB_RANDOM_ROOT_PASSWORD=true
version: "3.8"
services:
mysql56:
image: mysql:5.6
ports:
- "3306:3306"
environment:
- MYSQL_USER=springuser
- MYSQL_PASSWORD=ThePassword
- MYSQL_DATABASE=db_example
- MYSQL_RANDOM_ROOT_PASSWORD=true
mysql57:
image: mysql:5.7
ports:
- "3306:3306"
environment:
- MYSQL_USER=springuser
- MYSQL_PASSWORD=ThePassword
- MYSQL_DATABASE=db_example
- MYSQL_RANDOM_ROOT_PASSWORD=true
mysql:
image: mysql:8.0
ports:
- "3306:3306"
environment:
- MYSQL_USER=springuser
- MYSQL_PASSWORD=ThePassword
- MYSQL_DATABASE=db_example
- MYSQL_RANDOM_ROOT_PASSWORD=true
mariadb:
image: mariadb:10.6
ports:
- "3306:3306"
environment:
- MARIADB_USER=springuser
- MARIADB_PASSWORD=ThePassword
- MARIADB_DATABASE=db_example
- MARIADB_RANDOM_ROOT_PASSWORD=true

0 comments on commit 738fecf

Please sign in to comment.