se expone puerto database en docker-compose

develop/Rodrigo/Backend
Francisco Sandoval 2023-08-09 20:29:31 -04:00
parent 892267898a
commit e2cfa4f06e
1 changed files with 3 additions and 1 deletions

View File

@ -32,6 +32,8 @@ services:
volumes:
- db:/var/lib/postgresql/data
- ./01_create_tables.sql:/docker-entrypoint-initdb.d/01_create_tables.sql
ports:
- 5436:5432
environment:
POSTGRES_PASSWORD: password
POSTGRES_DB: database