Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bodysch-backend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
JetBrains YouTrack
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
KSZK
DevTeam
org
BodySCH
bodysch-backend
Commits
d84fd010
Commit
d84fd010
authored
5 years ago
by
Rafael László
Committed by
chif
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
docker-compose for development
parent
f2a8ec78
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitignore
+3
-1
3 additions, 1 deletion
.gitignore
README.md
+4
-1
4 additions, 1 deletion
README.md
docker-compose.dev.yml
+22
-0
22 additions, 0 deletions
docker-compose.dev.yml
with
29 additions
and
2 deletions
.gitignore
+
3
−
1
View file @
d84fd010
...
@@ -79,5 +79,7 @@ typings/
...
@@ -79,5 +79,7 @@ typings/
.vscode-test
.vscode-test
# TS build folder
# TS build folder
build/
build/
# Mongose database
\ No newline at end of file
data/
\ No newline at end of file
This diff is collapsed.
Click to expand it.
README.md
+
4
−
1
View file @
d84fd010
...
@@ -11,9 +11,12 @@
...
@@ -11,9 +11,12 @@
3.
Run dev server
3.
Run dev server
> ` npm run start-dev`
> ` npm run start-dev`
To start with mongoDB
> ` docker-compose -f docker-compose.dev.yml up`
## Build
## Build
Run typescript compiler
Run typescript compiler
...
...
This diff is collapsed.
Click to expand it.
docker-compose.dev.yml
0 → 100644
+
22
−
0
View file @
d84fd010
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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment