Skip to content
Snippets Groups Projects
Commit d84fd010 authored by Rafael László's avatar Rafael László :speech_balloon: Committed by chif
Browse files

docker-compose for development

parent f2a8ec78
No related branches found
No related tags found
No related merge requests found
......@@ -79,5 +79,7 @@ typings/
.vscode-test
# TS build folder
build/
build/
\ No newline at end of file
# Mongose database
data/
\ No newline at end of file
......@@ -11,9 +11,12 @@
3. Run dev server
> ` npm run start-dev`
To start with mongoDB
> ` docker-compose -f docker-compose.dev.yml up`
## Build
Run typescript compiler
......
version: "3.7"
services:
app:
image: node:alpine
volumes:
- ./:/app
working_dir: /app
depends_on:
- mongo
environment:
NODE_ENV: development
ports:
- 8000:8000
command: npm run start-dev
mongo:
image: mongo
expose:
- 27017
volumes:
- ./data/db:/data/db
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment