chore: added docker files for bringing the container up

This commit is contained in:
ankitsridhar16
2022-12-06 13:18:02 +05:30
parent 1dc804a2b9
commit 333dbba393
10 changed files with 980 additions and 19 deletions

View File

@@ -0,0 +1,25 @@
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