use dbname myapp

This commit is contained in:
Sameer Naik
2017-01-17 10:59:23 +05:30
parent dcd519170e
commit c635df263b
3 changed files with 5 additions and 5 deletions
@@ -4,7 +4,7 @@ services:
postgresql:
image: bitnami/postgresql:latest
environment:
- POSTGRESQL_DATABASE=my_app
- POSTGRESQL_DATABASE=myapp
myapp:
tty: true # Enables debugging capabilities when attached to this container.
@@ -13,7 +13,7 @@ services:
environment:
- PORT=3000
- NODE_ENV=development
- DATABASE_URL=postgres://postgres@postgresql/my_app
- DATABASE_URL=postgres://postgres@postgresql/myapp
depends_on:
- postgresql
ports: