- Install
Node.js v14.x
- Run
npm i
to install dependencies
.env
(in main directory)- DB_HOST =
host database (MySql)
- DB_USER =
db username
- DB_PASS =
db password
- DB_NAME =
db name
- DB_TABLE_NAME =
db table name
- site =
webserver host name/ip
- admin_pass =
your password
- DB_HOST =
- Run
app.js
-
docker-compose up db
-
docker-compose up web
- or
-
docker-compose up -d
(desirable)