Skip to content

Commit

Permalink
Merge pull request #455 from tcet-opensource/devhotfix
Browse files Browse the repository at this point in the history
changed db name and removed backend service from docker
  • Loading branch information
TejasNair9977 authored Dec 7, 2023
2 parents 4f171f8 + 1f60cae commit 5b87166
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PORT=4000
TOKEN_SECRET=mysecret
ENVIRONMENT=local
DB_URL=mongodb://mongo1:30001,mongo2:30002,mongo3:30003/?replicaSet=my-replica-set
DB_URL=mongodb://mongo1:30001,mongo2:30002,mongo3:30003/erpdb?replicaSet=my-replica-set
EMAIL_HOST=
EMAIL_PORT=
EMAIL_USER=
Expand Down
16 changes: 8 additions & 8 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ services:
ports:
- 30003:30003

backend:
build: .
container_name: backend
env_file:
- .env
command: ["npm", "run", "serverstart"]
ports:
- 4000:4000
# backend:
# build: .
# container_name: backend
# env_file:
# - .env
# command: ["npm", "run", "serverstart"]
# ports:
# - 4000:4000

0 comments on commit 5b87166

Please sign in to comment.