Skip to content

Commit b8234bc

Browse files
committed
Nuke user service
1 parent 1cf0248 commit b8234bc

34 files changed

+0
-4137
lines changed

.env.sample

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,3 @@
55
QUESTION_DB_URI=<fill-this-in>
66
QUESTION_DB_USERNAME=user
77
QUESTION_DB_PASSWORD=<fill-this-in>
8-
9-
# User Service
10-
USER_SERVICE_CLOUD_URI=mongodb+srv://admin:<db_password>@cluster0.uo0vu.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0
11-
USER_SERVICE_LOCAL_URI=mongodb://127.0.0.1:27017/peerprepUserServiceDB
12-
13-
# Will use cloud MongoDB Atlas database
14-
ENV=PROD
15-
16-
# Secret for creating JWT signature
17-
JWT_SECRET=you-can-replace-this-with-your-own-secret
18-
19-
NODE_ENV=development

compose.dev.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,3 @@ services:
99
volumes:
1010
- /app/node_modules
1111
- ./services/question:/app
12-
13-
user:
14-
command: npm run dev
15-
volumes:
16-
- /app/node_modules
17-
- ./services/user:/app

compose.yml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -25,21 +25,6 @@ services:
2525
- question-db-network
2626
restart: always
2727

28-
user:
29-
container_name: user
30-
image: user
31-
build:
32-
context: services/user
33-
dockerfile: Dockerfile
34-
ports:
35-
- 8082:8082
36-
environment:
37-
USER_SERVICE_CLOUD_URI: ${USER_SERVICE_CLOUD_URI}
38-
USER_SERVICE_LOCAL_URI: ${USER_SERVICE_LOCAL_URI}
39-
ENV: ${ENV}
40-
JWT_SECRET: ${JWT_SECRET}
41-
restart: always
42-
4328
volumes:
4429
question-db:
4530

services/user/.env.sample

Lines changed: 0 additions & 12 deletions
This file was deleted.

services/user/Dockerfile

Lines changed: 0 additions & 9 deletions
This file was deleted.

services/user/MongoDBSetup.md

Lines changed: 0 additions & 60 deletions
This file was deleted.

0 commit comments

Comments
 (0)