production env

This commit is contained in:
CHIEFSOFT\ameye
2025-08-31 20:05:19 -04:00
parent 4005df391a
commit d8fab3a0c9
2 changed files with 23 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
PORT=5005
MERMS_SOCKET_PORT=5005
MERMS_POSTGRE_URL='postgresql://merms_panel:merms_panel@10.13.3.60:5432/merms_panel'
+20
View File
@@ -0,0 +1,20 @@
version: '3'
services:
merms-socket-micro:
build:
context: .
dockerfile: Dockerfile
env_file:
- .env.prod
restart: unless-stopped
image: registry.chiefsoft.net/merms-socket-micro:latest
volumes:
- ./:/app
- '/app/node_modules'
ports:
- ${MERMS_SOCKET_PORT}:${PORT}
environment:
- PORT=${MERMS_SOCKET_PORT}
- POSTGRE_URL=${MERMS_POSTGRE_URL}
volumes:
src: