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

View File

@@ -4,7 +4,7 @@ services:
mariadb:
image: bitnami/mariadb:latest
environment:
- MARIADB_DATABASE=my_app
- MARIADB_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=mysql://root@mariadb/my_app
- DATABASE_URL=mysql://root@mariadb/myapp
depends_on:
- mariadb
ports:

View File

@@ -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:

View File

@@ -11,7 +11,7 @@ services:
environment:
- PORT=3000
- NODE_ENV=development
- DATABASE_URL=mongodb://mongodb:27017/my_app
- DATABASE_URL=mongodb://mongodb:27017/myapp
depends_on:
- mongodb
ports: