From 16951184f73cba2b24f0a41ebb53e08dd2120ad0 Mon Sep 17 00:00:00 2001 From: Sandipan Date: Sun, 22 Sep 2024 03:53:44 +0530 Subject: [PATCH] chore: update readme --- README.md | 41 +++++++++++++++++++++-------------------- 1 file changed, 21 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index bbe214d..ba115cf 100644 --- a/README.md +++ b/README.md @@ -44,24 +44,25 @@ Update State #### Docker Compose to run this directly ``` version: "4" -server-pg: - image: postgres:16.4 - ports: - environment: - - POSTGRES_USER=user - - POSTGRES_PASSWORD=password - - POSTGRES_DB=pg - healthcheck: - test: ["CMD-SHELL", "pg_isready"] - interval: 5s - timeout: 5s - retries: 5 -accorde: - image: sandipndev/accorde - ports: - - "9099:3000" - depends_on: - - server-pg - environment: - - PG_CON=postgresql://user:password@server-pg:5432/pg +services: + server-pg: + image: postgres:16.4 + ports: + environment: + - POSTGRES_USER=user + - POSTGRES_PASSWORD=password + - POSTGRES_DB=pg + healthcheck: + test: ["CMD-SHELL", "pg_isready"] + interval: 5s + timeout: 5s + retries: 5 + accorde: + image: sandipndev/accorde + ports: + - "9099:3000" + depends_on: + - server-pg + environment: + - PG_CON=postgresql://user:password@server-pg:5432/pg ```