File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- MYSQL_DATABASE_USERNAME = ["λ°μ΄ν°λ² μ΄μ€ μ¬μ©μ μ΄λ¦"]
2- MYSQL_ROOT_PASSWORD = ["λ£¨νΈ λΉλ°λ²νΈ"]
3- MYSQL_DATABASE = ["λ°μ΄ν°λ² μ΄μ€ μ΄λ¦"]
1+ MYSQL_DATABASE_USERNAME = mskim
2+ MYSQL_ROOT_PASSWORD = 1234
3+ MYSQL_DATABASE = board
44MYSQL_PORT = 3306
Original file line number Diff line number Diff line change 1+ version : ' 3'
2+ services : # μ°κ³ μνλ μλΉμ€
3+ mysql : # μ¬μ©μκ° μνλ μ΄λ¦
4+ image : mysql:5.7 # μ΄λ―Έμ§λ mysql 5.7μ λ€μ΄λ°μ μ¬μ©ν κ²
5+ hostname : mysql
6+ container_name : mysql
7+ command : --default-authentication-plugin=mysql_native_password
8+ restart : always # μμ€ν
μ λ€μ κ»λ€ μΌλ νμ μ¬μμ
9+ ports :
10+ - " 3306:3306" # 23306 ν¬νΈλ‘ μ μνλ©΄ λ΄λΆμμ 3306ν¬νΈλ‘ μ μ‘
11+ env_file :
12+ - ./confs/database/mysql/.env # νκ²½ λ³μλ€μ λ°λ‘ μ§μ ν΄μ€λ λμ§λ§ νμΌλ‘ λΌμ΄λμ
You canβt perform that action at this time.
0 commit comments