Skip to content

Commit

Permalink
add mariadb to docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
tanner0101 committed Jul 20, 2020
1 parent 2b1cac4 commit d42b46d
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,25 @@
version: '3'

services:
mysql-8-a:
mariadb-a:
image: mariadb
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: "true"
MYSQL_DATABASE: vapor_database
MYSQL_USER: vapor_username
MYSQL_PASSWORD: vapor_password
ports:
- 3306:3306
mariadb-b:
image: mariadb
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: "true"
MYSQL_DATABASE: vapor_database
MYSQL_USER: vapor_username
MYSQL_PASSWORD: vapor_password
ports:
- 3307:3306
mysql-a:
image: mysql:8.0
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: "true"
Expand All @@ -10,7 +28,7 @@ services:
MYSQL_PASSWORD: vapor_password
ports:
- 3306:3306
mysql-8-b:
mysql-b:
image: mysql:8.0
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: "true"
Expand Down

0 comments on commit d42b46d

Please sign in to comment.