Files
containers/bitnami/express/docker-compose-postgresql.yml
2017-01-16 11:03:59 +05:30

21 lines
461 B
YAML

version: '2'
services:
postgresql:
image: bitnami/postgresql:latest
environment:
- POSTGRESQL_DATABASE=my_app_development
myapp:
tty: true # Enables debugging capabilities when attached to this container.
image: bitnami/express:latest
environment:
- PORT=3000
- DATABASE_URL=postgres://postgres@postgresql/my_app_development
depends_on:
- postgresql
ports:
- 3000:3000
volumes:
- .:/app