restructured repo + created README.md
This commit is contained in:
parent
887dbcac22
commit
5fb6ad7282
6 changed files with 18 additions and 0 deletions
5
db/mysql/.env
Normal file
5
db/mysql/.env
Normal file
|
@ -0,0 +1,5 @@
|
|||
DB_ROOT_PW=supersecurepassword
|
||||
DB_USER=db_user
|
||||
DB_PW=securepassword
|
||||
DB_NAME=db_name
|
||||
DB_PATH=./db
|
11
db/mysql/docker-compose.yml
Normal file
11
db/mysql/docker-compose.yml
Normal file
|
@ -0,0 +1,11 @@
|
|||
services:
|
||||
mysql_db:
|
||||
image: mysql:latest
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=${DB_ROOT_PW}
|
||||
- MYSQL_USER=${DB_USER}
|
||||
- MYSQL_PASSWORD=${DB_PW}
|
||||
- MYSQL_DATABASE=${DB_NAME}
|
||||
volumes:
|
||||
- ${DB_PATH}:/var/lib/mysql
|
Loading…
Add table
Add a link
Reference in a new issue