fixed problems with docker that only existed on other systems
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ Box, Button, Container, TextField, Typography } from "@mui/material";
|
||||
import { Box, Button, Container, TextField, Typography } from "@mui/material";
|
||||
import React, { useState } from "react";
|
||||
import { createAlert } from "../../actions/alert";
|
||||
import { addPost } from "../../actions/post";
|
||||
|
||||
+1
-1
@@ -24,7 +24,7 @@ services:
|
||||
MONGO_URL: "mongodb://the_username:the_password@mongo:27017/the_database"
|
||||
|
||||
mongo:
|
||||
image: mongo
|
||||
image: mongo:4.4
|
||||
ports:
|
||||
- 3456:27017
|
||||
environment:
|
||||
|
||||
+2
-2
@@ -4,8 +4,8 @@
|
||||
"description": "",
|
||||
"main": "server.ts",
|
||||
"scripts": {
|
||||
"start": "ts-node server.ts",
|
||||
"server": "ts-node-dev server.ts"
|
||||
"start": "npx ts-node server.ts",
|
||||
"server": "npx ts-node-dev server.ts"
|
||||
},
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
|
||||
Reference in New Issue
Block a user