update ports

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

View File

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

View File

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