Skip to content
Snippets Groups Projects
Commit 462ee825 authored by GUVEN Kemal's avatar GUVEN Kemal
Browse files

update ports docker back

parent d18af1bd
Branches
No related tags found
No related merge requests found
......@@ -10,13 +10,13 @@ RUN npm run build
RUN echo '{\n\
"server": {\n\
"uri": "localhost",\n\
"port": 3002\n\
"port": 3001\n\
},\n\
"resources": {\n\
"internshipAgreements": "internship-agreements"\n\
},\n\
"mongodb": {\n\
"uri": "mongodb://db:27018/internship-manager"\n\
"uri": "mongodb://db:27017/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": 3002\n\
"port": 3001\n\
},\n\
"resources": {\n\
"internshipAgreements": "internship-agreements"\n\
},\n\
"mongodb": {\n\
"uri": "mongodb://db:27018/internship-manager"\n\
"uri": "mongodb://db:27017/internship-manager"\n\
},\n\
"mailgun": {\n\
"apiKey": "5d9beaef19aaa5bb01aa59bd48a12501-f7d687c0-d4d95492",\n\
......
......@@ -6,18 +6,18 @@ services:
restart: always
build: .
ports:
- "3002:3002"
- "3001:3001"
environment:
- DB_URL=mongodb://db_mongo
db:
image: mongo
container_name: db_mongo
command: mongod --port 27018
command: mongod --port 27017
volumes:
- mongodata:/data/db
ports:
- "27018:27018"
- "27017:27017"
volumes:
mongodata:
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment