mirror of
https://github.com/bitnami/containers.git
synced 2026-10-18 17:12:42 +02:00
4.17.2-debian-10-r21 release
This commit is contained in:
@@ -7,21 +7,18 @@ services:
|
||||
- POSTGRESQL_DATABASE=myapp
|
||||
- ALLOW_EMPTY_PASSWORD=yes
|
||||
express:
|
||||
tty: true # Enables debugging capabilities when attached to this container.
|
||||
image: docker.io/bitnami/express:4
|
||||
command: npm run development
|
||||
ports:
|
||||
- '3000:3000'
|
||||
environment:
|
||||
- PORT=3000
|
||||
- NODE_ENV=development
|
||||
- DATABASE_URL=postgres://postgres@postgresql/myapp
|
||||
|
||||
- SKIP_DB_WAIT=0
|
||||
- SKIP_DB_MIGRATION=0
|
||||
- SKIP_NPM_INSTALL=0
|
||||
- SKIP_BOWER_INSTALL=0
|
||||
- EXPRESS_SKIP_DB_WAIT=0
|
||||
- EXPRESS_SKIP_DB_MIGRATION=0
|
||||
- EXPRESS_SKIP_NPM_INSTALL=0
|
||||
- EXPRESS_SKIP_BOWER_INSTALL=0
|
||||
volumes:
|
||||
- './my-project:/app'
|
||||
depends_on:
|
||||
- postgresql
|
||||
ports:
|
||||
- 3000:3000
|
||||
volumes:
|
||||
- .:/app
|
||||
|
||||
Reference in New Issue
Block a user