Some checks failed
Vulhub Format Check and Lint / format-check (push) Has been cancelled
Vulhub Format Check and Lint / markdown-check (push) Has been cancelled
Vulhub Docker Image CI / longtime-images-test (push) Has been cancelled
Vulhub Docker Image CI / images-test (push) Has been cancelled
16 lines
283 B
YAML
16 lines
283 B
YAML
services:
|
|
node:
|
|
build: .
|
|
depends_on:
|
|
- db
|
|
ports:
|
|
- "3000:3000"
|
|
volumes:
|
|
- ./www:/usr/src/www
|
|
db:
|
|
image: postgres:9.6
|
|
environment:
|
|
- POSTGRES_PASSWORD=postgres
|
|
- POSTGRES_DB=example
|
|
volumes:
|
|
- ./db.sql:/docker-entrypoint-initdb.d/db.sql |