production env
This commit is contained in:
@@ -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'
|
||||
@@ -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:
|
||||
Reference in New Issue
Block a user