Fixex the deployment issues, read more
The deployment issues were caused by sequelize running out-of-order. I fixed this by placing sequelize.sync() in correct locations. I've also updated news-server with these changes. I've also removed mariadb stuff from the game server's Dockerfile. Resolved #1
This commit is contained in:
@@ -4,9 +4,9 @@ const sequelize = new Sequelize(process.env.DB_DATABASE, process.env.DB_USERNAME
|
||||
host: process.env.DB_HOSTNAME,
|
||||
dialect: 'mariadb',
|
||||
timezone: process.env.DB_TIMEZONE,
|
||||
logging: false
|
||||
// logging: false
|
||||
});
|
||||
|
||||
sequelize.sync();
|
||||
|
||||
module.exports = sequelize;
|
||||
module.exports = sequelize;
|
||||
|
||||
Reference in New Issue
Block a user