Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
InternshipManager-Back
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
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
GUVEN Kemal
InternshipManager-Back
Commits
1b038d8a
Unverified
Commit
1b038d8a
authored
2 years ago
by
Denis
Committed by
GitHub
2 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #22 from ivanalglave/docker-back
update ports docker back
parents
7c3f6d05
462ee825
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Dockerfile
+4
-4
4 additions, 4 deletions
Dockerfile
docker-compose.yml
+3
-3
3 additions, 3 deletions
docker-compose.yml
with
7 additions
and
7 deletions
Dockerfile
+
4
−
4
View file @
1b038d8a
...
...
@@ -10,13 +10,13 @@ RUN npm run build
RUN
echo
'{\n
\
"server": {\n
\
"uri": "localhost",\n
\
"port": 300
2
\n
\
"port": 300
1
\n
\
},\n
\
"resources": {\n
\
"internshipAgreements": "internship-agreements"\n
\
},\n
\
"mongodb": {\n
\
"uri": "mongodb://db:2701
8
/internship-manager"\n
\
"uri": "mongodb://db:2701
7
/internship-manager"\n
\
},\n
\
"mailgun": {\n
\
"apiKey": "5d9beaef19aaa5bb01aa59bd48a12501-f7d687c0-d4d95492",\n
\
...
...
@@ -27,13 +27,13 @@ RUN echo '{\n\
RUN
echo
'{\n
\
"server": {\n
\
"uri": "localhost",\n
\
"port": 300
2
\n
\
"port": 300
1
\n
\
},\n
\
"resources": {\n
\
"internshipAgreements": "internship-agreements"\n
\
},\n
\
"mongodb": {\n
\
"uri": "mongodb://db:2701
8
/internship-manager"\n
\
"uri": "mongodb://db:2701
7
/internship-manager"\n
\
},\n
\
"mailgun": {\n
\
"apiKey": "5d9beaef19aaa5bb01aa59bd48a12501-f7d687c0-d4d95492",\n
\
...
...
This diff is collapsed.
Click to expand it.
docker-compose.yml
+
3
−
3
View file @
1b038d8a
...
...
@@ -6,18 +6,18 @@ services:
restart
:
always
build
:
.
ports
:
-
"
300
2
:300
2
"
-
"
300
1
:300
1
"
environment
:
-
DB_URL=mongodb://db_mongo
db
:
image
:
mongo
container_name
:
db_mongo
command
:
mongod --port
2701
8
command
:
mongod --port
2701
7
volumes
:
-
mongodata:/data/db
ports
:
-
"
2701
8
:2701
8
"
-
"
2701
7
:2701
7
"
volumes
:
mongodata
:
\ 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