auto commit

This commit is contained in:
bangdk 2024-11-19 07:08:02 +09:00
parent a9af1bf315
commit 2e1c49a59d
3 changed files with 5 additions and 14 deletions

View File

@ -27,6 +27,7 @@ JWT_EXPIRES_IN=1d
# REALTIME API
REALTIME_API_PORT=3004
REALTIME_BACKEND_API_URL=http://localhost:3004
# Database
POSTGRES_HOST=fems-postgres

View File

@ -32,6 +32,10 @@ CORS_ORIGIN=*
JWT_SECRET=wacefems-secret-work-in-progress-PPw09!keep
JWT_EXPIRES_IN=1d
# REALTIME API
REALTIME_API_PORT=3004
REALTIME_BACKEND_API_URL=http://localhost:3004
# Database
POSTGRES_HOST=fems-postgres
POSTGRES_PORT=5432

View File

@ -27,15 +27,6 @@ services:
- "max_connections=100"
- "-c"
- "shared_buffers=128MB"
healthcheck:
test:
[
"CMD-SHELL",
"pg_isready -U ${POSTGRES_USER:-postgres} -d ${POSTGRES_DB:-postgres}",
]
interval: 30s
timeout: 10s
retries: 3
# healthcheck:
# test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER} -d ${POSTGRES_DB}"]
# interval: 30s
@ -100,11 +91,6 @@ services:
# build:
# context: ./docker/mqtt
# dockerfile: Dockerfile
# args:
# - MQTT_USERNAME=fems
# - MQTT_PASSWORD=fems123!
# - NODE_RED_USERNAME=nodered_user
# - NODE_RED_PASSWORD=nodered_password123!
# container_name: fems-mqtt
# env_file:
# - .env.${NODE_ENV:-development}