update port

This commit is contained in:
SrGooglo 2022-12-14 15:39:03 +00:00
parent f8fb6f8d0f
commit 27140c4616
2 changed files with 10 additions and 3 deletions

View File

@ -12,6 +12,13 @@ services:
ports: ports:
- "3010:3000" - "3010:3000"
env_file: env_file:
- .env - api.env
volumes: volumes:
- ./d_data/api/cache:/home/node/app/cache:ro - ./d_data/api/cache:/home/node/app/cache:ro
message_server:
build: packages/message_server
restart: unless-stopped
ports:
- "3020:3020"
env_file:
- messaging.env

View File

@ -7,7 +7,7 @@ RUN mkdir -p /home/node/app/node_modules && chown -R node:node /home/node/app
WORKDIR /home/node/app WORKDIR /home/node/app
USER node USER node
EXPOSE 3010 EXPOSE 3020
COPY package.json ./ COPY package.json ./
COPY --chown=node:node . . COPY --chown=node:node . .