chore: uncomment postgres from docker compose

This commit is contained in:
Saleel
2023-08-09 02:14:29 +05:30
parent 3ef16f5c2d
commit 12291bdfcf

View File

@@ -47,23 +47,23 @@ services:
depends_on:
- api
# postgres:
# container_name: postgres
# image: postgres
# environment:
# POSTGRES_USER: root
# POSTGRES_PASSWORD: helloworld
# POSTGRES_DB: bandada
# PGDATA: /data/postgres
# volumes:
# - postgres:/data/postgres
# - ./database/seed.sql:/docker-entrypoint-initdb.d/seed.sql
# ports:
# - "5432:5432"
# restart: unless-stopped
# command: postgres -c listen_addresses='*'
# networks:
# - bandada
postgres:
container_name: postgres
image: postgres
environment:
POSTGRES_USER: root
POSTGRES_PASSWORD: helloworld
POSTGRES_DB: bandada
PGDATA: /data/postgres
volumes:
- postgres:/data/postgres
- ./database/seed.sql:/docker-entrypoint-initdb.d/seed.sql
ports:
- "5432:5432"
restart: unless-stopped
command: postgres -c listen_addresses='*'
networks:
- bandada
networks:
bandada: