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:
+2
-2
@@ -136,7 +136,7 @@ services:
|
||||
MYSQL_ROOT_PASSWORD: ${databaseRootPassword}
|
||||
volumes:
|
||||
- "./mysql:/var/lib/mysql"
|
||||
- "./startup.sql:/docker-entrypoint-initdb.d/startup.sql:ro"
|
||||
- "./startup.sql:/docker-entrypoint-initdb.d/startup.sql:ro"
|
||||
networks:
|
||||
- app-network
|
||||
|
||||
@@ -175,7 +175,7 @@ RUN npm install
|
||||
COPY . /app
|
||||
EXPOSE 3000
|
||||
ENTRYPOINT ["bash", "-c"]
|
||||
CMD ["npm start"]
|
||||
CMD ["sleep 10 && npm start"]
|
||||
`;
|
||||
|
||||
const sqlfile = `
|
||||
|
||||
Reference in New Issue
Block a user