mirror of
https://github.com/bitnami/containers.git
synced 2026-02-15 00:57:23 +08:00
use dbname myapp
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user