Skip to content

Commit

Permalink
Added c2g-db
Browse files Browse the repository at this point in the history
  • Loading branch information
SudhaUKumar committed Nov 3, 2023
1 parent 2efada7 commit 9532f1e
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions backend/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,20 @@ services:
timeout: 5s
retries: 10

c2g-db:
image: "postgres:12"
environment:
POSTGRES_HOST_AUTH_METHOD: trust
volumes:
- c2gdb-data:/var/lib/postgresql/data/
ports:
- "5433:5432"
healthcheck:
test: ["CMD-SHELL", "pg_isready -d postgres -U postgres -p 5433"]
interval: 10s
timeout: 5s
retries: 10

#---------------------------------------------
# Historic data
#---------------------------------------------
Expand Down Expand Up @@ -116,4 +130,5 @@ services:
condition: service_healthy
volumes:
postgres-data:
c2gdb-data:
minio-vol:

0 comments on commit 9532f1e

Please sign in to comment.