2022-12-06 07:48:02 +00:00
|
|
|
version: '3.0'
|
|
|
|
services:
|
|
|
|
local:
|
2022-12-07 14:43:42 +00:00
|
|
|
build: .
|
2023-02-08 09:11:05 +00:00
|
|
|
env_file:
|
|
|
|
- .env
|
2023-01-09 13:26:40 +00:00
|
|
|
command: [ "pnpm", "run", "start:dev" ]
|
2022-12-06 07:48:02 +00:00
|
|
|
environment:
|
|
|
|
- PRODUCTION=false
|
2022-12-07 15:22:31 +00:00
|
|
|
- DATABASE_URL=postgresql://postgres:testpass@dev-db:5432/hoppscotch?connect_timeout=300
|
2022-12-06 07:48:02 +00:00
|
|
|
- PORT=3000
|
2022-12-08 16:49:14 +00:00
|
|
|
volumes:
|
|
|
|
- .:/usr/src/app
|
|
|
|
- /usr/src/app/node_modules/
|
2022-12-06 07:48:02 +00:00
|
|
|
depends_on:
|
|
|
|
- dev-db
|
|
|
|
ports:
|
|
|
|
- "3170:3000"
|
|
|
|
- "9229:9229"
|
|
|
|
|
|
|
|
dev-db:
|
|
|
|
image: postgres
|
|
|
|
ports:
|
|
|
|
- "5432:5432"
|
|
|
|
environment:
|
|
|
|
POSTGRES_PASSWORD: testpass
|
|
|
|
POSTGRES_DB: hoppscotch
|