mirror of
https://github.com/koreanbots/core.git
synced 2025-12-15 14:10:22 +00:00
feat: added mysql docker container
This commit is contained in:
parent
77247acbfd
commit
39251501c9
1
.gitignore
vendored
1
.gitignore
vendored
@ -30,6 +30,7 @@ yarn-error.log*
|
||||
.env.development.local
|
||||
.env.test.local
|
||||
.env.production.local
|
||||
.env.mysql.local
|
||||
|
||||
# vercel
|
||||
.vercel
|
||||
|
||||
@ -1,6 +1,18 @@
|
||||
version: "3"
|
||||
|
||||
services:
|
||||
mysql:
|
||||
image: mariadb/server:10.5
|
||||
hostname: mysqlBeta
|
||||
ports:
|
||||
- "3307:3306"
|
||||
env_file:
|
||||
- .env.mysql.local
|
||||
command:
|
||||
- --character-set-server=utf8mb4
|
||||
- --collation-server=utf8mb4_unicode_ci
|
||||
volumes:
|
||||
- /home/ubuntu/mysql-beta:/var/lib/mysql
|
||||
koreanbots:
|
||||
build: .
|
||||
ports:
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
"start": "next start",
|
||||
"lint": "eslint --ext ts,tsx .",
|
||||
"lint:fix": "eslint --ext ts,tsx . --fix",
|
||||
"docker": "docker-compose up -d"
|
||||
"docker": "docker-compose up -d --build"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fortawesome/fontawesome-free": "^5.15.1",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user