mirror of
https://github.com/9technologygroup/patchmon.net.git
synced 2026-01-01 18:49:38 -06:00
This is MY docker config, just using it to test
This commit is contained in:
@@ -23,15 +23,16 @@ services:
|
||||
# Backend API Service
|
||||
backend:
|
||||
build:
|
||||
context: ./backend
|
||||
dockerfile: Dockerfile
|
||||
context: .
|
||||
dockerfile: backend/Dockerfile
|
||||
container_name: patchmon-backend
|
||||
environment:
|
||||
DATABASE_URL: postgresql://patchmon_user:p@tchm0n_p@55@database:5432/patchmon_db
|
||||
SERVER_URL: http://192.168.1.217:3001
|
||||
PORT: 3001
|
||||
NODE_ENV: production
|
||||
API_VERSION: v1
|
||||
CORS_ORIGIN: http://localhost:3000
|
||||
CORS_ORIGIN: http://192.168.1.217:3000
|
||||
RATE_LIMIT_WINDOW_MS: 900000
|
||||
RATE_LIMIT_MAX: 100
|
||||
LOG_LEVEL: info
|
||||
@@ -57,7 +58,7 @@ services:
|
||||
container_name: patchmon-frontend
|
||||
environment:
|
||||
PORT: 3000
|
||||
CORS_ORIGIN: http://localhost:3001
|
||||
CORS_ORIGIN: http://192.168.1.217:3001
|
||||
ports:
|
||||
- "3000:3000"
|
||||
depends_on:
|
||||
|
||||
Reference in New Issue
Block a user