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 React, { useState } from "react";
|
||||||
import { createAlert } from "../../actions/alert";
|
import { createAlert } from "../../actions/alert";
|
||||||
import { addPost } from "../../actions/post";
|
import { addPost } from "../../actions/post";
|
||||||
|
|||||||
+1
-1
@@ -24,7 +24,7 @@ services:
|
|||||||
MONGO_URL: "mongodb://the_username:the_password@mongo:27017/the_database"
|
MONGO_URL: "mongodb://the_username:the_password@mongo:27017/the_database"
|
||||||
|
|
||||||
mongo:
|
mongo:
|
||||||
image: mongo
|
image: mongo:4.4
|
||||||
ports:
|
ports:
|
||||||
- 3456:27017
|
- 3456:27017
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
+2
-2
@@ -4,8 +4,8 @@
|
|||||||
"description": "",
|
"description": "",
|
||||||
"main": "server.ts",
|
"main": "server.ts",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "ts-node server.ts",
|
"start": "npx ts-node server.ts",
|
||||||
"server": "ts-node-dev server.ts"
|
"server": "npx ts-node-dev server.ts"
|
||||||
},
|
},
|
||||||
"author": "",
|
"author": "",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
|
|||||||
Reference in New Issue
Block a user