Skip to content

Commit

Permalink
add mariadb to docker compose
Browse files Browse the repository at this point in the history
  • Loading branch information
lovasoa committed Sep 6, 2023
1 parent fa025d7 commit 4c9c937
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Set COMPOSE_PROFILES to one of the following: postgres, mysql, mssql. If set to mssql, you will need to change the depends_on propery in docker-compose.yml
COMPOSE_PROFILES=mssql
COMPOSE_PROFILES=mariadb
9 changes: 8 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,11 @@ services:
interval: 10s
timeout: 3s
retries: 10
start_period: 10s
start_period: 10s
mariadb:
profiles: ["mariadb"]
ports: ["3306:3306"]
image: mariadb
environment:
MYSQL_ROOT_PASSWORD: Password123!
MYSQL_DATABASE: sqlpage

0 comments on commit 4c9c937

Please sign in to comment.