Skip to content

Commit

Permalink
Fix docker-compose.yml files
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruben Klink committed Apr 25, 2024
1 parent 6114331 commit 3b2821b
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 26 deletions.
27 changes: 14 additions & 13 deletions complete/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
mysql:
image: mysql
ports:
- "3306:3306"
expose:
- "3306"
environment:
- MYSQL_USER=springuser
- MYSQL_PASSWORD=ThePassword
- MYSQL_DATABASE=db_example
- MYSQL_ROOT_PASSWORD=root
volumes:
- "./conf.d:/etc/mysql/conf.d:ro"
services:
mysql:
image: mysql
ports:
- "3306:3306"
expose:
- "3306"
environment:
- MYSQL_USER=springuser
- MYSQL_PASSWORD=ThePassword
- MYSQL_DATABASE=db_example
- MYSQL_ROOT_PASSWORD=root
volumes:
- "./conf.d:/etc/mysql/conf.d:ro"
27 changes: 14 additions & 13 deletions initial/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
mysql:
image: mysql
ports:
- "3306:3306"
expose:
- "3306"
environment:
- MYSQL_USER=springuser
- MYSQL_PASSWORD=ThePassword
- MYSQL_DATABASE=db_example
- MYSQL_ROOT_PASSWORD=root
volumes:
- "./conf.d:/etc/mysql/conf.d:ro"
services:
mysql:
image: mysql
ports:
- "3306:3306"
expose:
- "3306"
environment:
- MYSQL_USER=springuser
- MYSQL_PASSWORD=ThePassword
- MYSQL_DATABASE=db_example
- MYSQL_ROOT_PASSWORD=root
volumes:
- "./conf.d:/etc/mysql/conf.d:ro"

0 comments on commit 3b2821b

Please sign in to comment.