hoppscotch/packages/hoppscotch-backend/docker-compose.yml

26 lines
458 B
YAML

version: '3.0'
services:
local:
build: ./Dockerfile
environment:
- PRODUCTION=false
- DATABASE_URL=postgresql://postgres:testpass@dev-db:5432/hoppscotch
- PORT=3000
# volumes:
# - .:/usr/src/app
depends_on:
- dev-db
ports:
- "3170:3000"
- "9229:9229"
dev-db:
image: postgres
ports:
- "5432:5432"
environment:
POSTGRES_PASSWORD: testpass
POSTGRES_DB: hoppscotch