mirror of
https://github.com/AtHeartEngineering/bandada.git
synced 2026-01-08 04:54:16 -05:00
chore: uncomment postgres from docker compose
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user