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
REALTIME_API_PORT=3004 REALTIME_API_PORT=3004
REALTIME_BACKEND_API_URL=http://localhost:3004
# Database # Database
POSTGRES_HOST=fems-postgres POSTGRES_HOST=fems-postgres

View File

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

View File

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