update ports

This commit is contained in:
SrGooglo 2023-01-23 17:33:38 +00:00
parent 4f1cdfe580
commit f175953d17
2 changed files with 4 additions and 4 deletions

View File

@ -10,7 +10,7 @@ services:
build: packages/server
restart: unless-stopped
ports:
- "3010:3000"
- "5000:5000"
env_file:
- api.env
volumes:
@ -19,6 +19,6 @@ services:
build: packages/message_server
restart: unless-stopped
ports:
- "3020:3020"
- "3005:3005"
env_file:
- messaging.env

View File

@ -5,8 +5,8 @@ import defaultRemotesOrigins from "../constants/defaultRemotesOrigins.json"
const envOrigins = {
"development": {
mainApi: `http://${window.location.hostname}:3000`,
messagingApi: `http://${window.location.hostname}:3001`,
mainApi: `http://${window.location.hostname}:3010`,
messagingApi: `http://${window.location.hostname}:3030`,
},
"production": {
mainApi: "http://api.comty.pw",