feat: 도커 DB생성 compose파일 수정(현재 main 브랜치에서 pull해서 적용)
This commit is contained in:
@@ -7,4 +7,4 @@ build
|
|||||||
npm-debug.log
|
npm-debug.log
|
||||||
uploads
|
uploads
|
||||||
*.xlsx
|
*.xlsx
|
||||||
*.log
|
*.log
|
||||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -6,3 +6,4 @@ dist/
|
|||||||
.DS_Store
|
.DS_Store
|
||||||
Thumbs.db
|
Thumbs.db
|
||||||
backups/
|
backups/
|
||||||
|
mysql_data/
|
||||||
|
|||||||
@@ -55,3 +55,19 @@ services:
|
|||||||
retries: 3
|
retries: 3
|
||||||
start_period: 20s
|
start_period: 20s
|
||||||
|
|
||||||
|
database:
|
||||||
|
image: mysql:latest
|
||||||
|
container_name: itam-mysql
|
||||||
|
ports:
|
||||||
|
- "3306:3306"
|
||||||
|
environment:
|
||||||
|
- MYSQL_ROOT_PASSWORD=itam1234 # 여기 직접 기입
|
||||||
|
- MYSQL_DATABASE=itam
|
||||||
|
- MYSQL_USER=itam
|
||||||
|
- MYSQL_PASSWORD=itam1234
|
||||||
|
volumes:
|
||||||
|
- ./mysql_data:/var/lib/mysql
|
||||||
|
restart: always
|
||||||
|
command:
|
||||||
|
- --character-set-server=utf8mb4
|
||||||
|
- --collation-server=utf8mb4_unicode_ci
|
||||||
5895
itam_DB_bak.sql
Normal file
5895
itam_DB_bak.sql
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user