diff --git a/backend-services/comment-service-2/config.ts b/backend-services/comment-service-2/config.ts index 1f3e667307779775a9de031eeb908692e4a32843..a67abdd596ea3ae57ec1fe5961a18dba0a080c36 100644 --- a/backend-services/comment-service-2/config.ts +++ b/backend-services/comment-service-2/config.ts @@ -1,3 +1,3 @@ export default { - JWT_SECRET: "yB/uX5KdyjHN9P34IE49HxAcrlQ4gfvpVJEzGbo5E/I=" + JWT_SECRET: "jwtprivatekey" } diff --git a/backend-services/friend-service/config.ts b/backend-services/friend-service/config.ts index 1f3e667307779775a9de031eeb908692e4a32843..a67abdd596ea3ae57ec1fe5961a18dba0a080c36 100644 --- a/backend-services/friend-service/config.ts +++ b/backend-services/friend-service/config.ts @@ -1,3 +1,3 @@ export default { - JWT_SECRET: "yB/uX5KdyjHN9P34IE49HxAcrlQ4gfvpVJEzGbo5E/I=" + JWT_SECRET: "jwtprivatekey" } diff --git a/backend-services/user-service/config.js b/backend-services/user-service/config.js index d17b31d89a1bacfb8ead7dc52b49c3413b419c6d..24366e7e1dfaaaaed0fddc10977993c89c766251 100644 --- a/backend-services/user-service/config.js +++ b/backend-services/user-service/config.js @@ -1,3 +1,3 @@ export default { - JWT_SECRET : "yB/uX5KdyjHN9P34IE49HxAcrlQ4gfvpVJEzGbo5E/I=" + JWT_SECRET : "jwtprivatekey" } \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 3cd75caa960512a6cf43ded34a848f2f1d161989..b48cb5a755eb961c91c0ec92123d7a39de48bc52 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -19,8 +19,8 @@ services: - "9000" environment: - MONGO_URI=mongodb://feed-mongo:27017/ - - JWT_PRIVATE_KEY=yB/uX5KdyjHN9P34IE49HxAcrlQ4gfvpVJEzGbo5E/I= - - PLAY_HTTP_SECRET_KEY=DUvbrcM2AbuB7oXboI1x`ZI_?1Iou>/ch2@lFXfrvVkWlHuA848y?GyR/0i2Ma:A + - JWT_PRIVATE_KEY=jwtprivatekey + - PLAY_HTTP_SECRET_KEY=playhttpsecretkey - FRIEND_SERVICE_URI=http://friend-service:9000/ - ENABLE_QUESTION_DB_SEEDING=true @@ -34,9 +34,9 @@ services: - "9000" environment: - MONGO_URI=mongodb://user-mongo:27017/userdb - - JWT_PRIVATE_KEY=yB/uX5KdyjHN9P34IE49HxAcrlQ4gfvpVJEzGbo5E/I= + - JWT_PRIVATE_KEY=jwtprivatekey - ENABLE_USER_DB_SEEDING=true - - SEEDED_ADMIN_PASSWORD=doesntreallymatter + - SEEDED_ADMIN_PASSWORD=seededadminpassword friend-service: build: @@ -50,7 +50,7 @@ services: - MONGO_HOST=friend-mongo - MONGO_PORT=27017 - MONGO_DBNAME=friends - - JWT_PRIVATE_KEY=yB/uX5KdyjHN9P34IE49HxAcrlQ4gfvpVJEzGbo5E/I= + - JWT_PRIVATE_KEY=jwtprivatekey comment-service: build: @@ -64,7 +64,7 @@ services: - MONGO_HOST=comment-mongo - MONGO_PORT=27017 - MONGO_DBNAME=comments - - JWT_PRIVATE_KEY=yB/uX5KdyjHN9P34IE49HxAcrlQ4gfvpVJEzGbo5E/I= + - JWT_PRIVATE_KEY=jwtprivatekey frontend-service: build: diff --git a/gcloud/comment-service/comment-service-deployment.yaml b/gcloud/comment-service/comment-service-deployment.yaml index 84715f9e339ec008408c8858c8f19693525930b0..346d549e5b85915461a0bcb7f92aa2784a247ce0 100644 --- a/gcloud/comment-service/comment-service-deployment.yaml +++ b/gcloud/comment-service/comment-service-deployment.yaml @@ -25,7 +25,7 @@ spec: - name: MONGO_DBNAME value: "comments" - name: JWT_PRIVATE_KEY - value: "yB/uX5KdyjHN9P34IE49HxAcrlQ4gfvpVJEzGbo5E/I=" + value: "jwtprivatekey" resources: requests: cpu: 100m diff --git a/gcloud/feed-service/feed-service-deployment.yaml b/gcloud/feed-service/feed-service-deployment.yaml index 56be35df4024f7c32ff62ae8728f076ef037b515..ce176f259d6f4963ebf6e684778ee8754d352745 100644 --- a/gcloud/feed-service/feed-service-deployment.yaml +++ b/gcloud/feed-service/feed-service-deployment.yaml @@ -25,9 +25,9 @@ spec: - name: ENABLE_QUESTION_DB_SEEDING value: "true" - name: JWT_PRIVATE_KEY - value: "yB/uX5KdyjHN9P34IE49HxAcrlQ4gfvpVJEzGbo5E/I=" + value: "jwtprivatekey" - name: PLAY_HTTP_SECRET_KEY - value: "DUvbrcM2AbuB7oXboI1x`ZI_?1Iou>/ch2@lFXfrvVkWlHuA848y?GyR/0i2Ma:A" + value: "playhttpsecretkey" resources: requests: cpu: 100m diff --git a/gcloud/friend-service/friend-service-deployment.yaml b/gcloud/friend-service/friend-service-deployment.yaml index 5d93fcd3085554963442a08b820469ae3b2f207e..3ffa326fdc15ff4f9b7e2f57b91a278f23eb244a 100644 --- a/gcloud/friend-service/friend-service-deployment.yaml +++ b/gcloud/friend-service/friend-service-deployment.yaml @@ -25,7 +25,7 @@ spec: - name: MONGO_DBNAME value: "friends" - name: JWT_PRIVATE_KEY - value: "yB/uX5KdyjHN9P34IE49HxAcrlQ4gfvpVJEzGbo5E/I=" + value: "jwtprivatekey" resources: requests: cpu: 100m diff --git a/gcloud/user-service/user-service-deployment.yaml b/gcloud/user-service/user-service-deployment.yaml index 8a44371fb94fe9186fe337d5adc7031708d8e845..3b46cd296d1cc8992acf78b480445e088e0cb668 100644 --- a/gcloud/user-service/user-service-deployment.yaml +++ b/gcloud/user-service/user-service-deployment.yaml @@ -23,9 +23,9 @@ spec: - name: ENABLE_USER_DB_SEEDING value: "true" - name: SEEDED_ADMIN_PASSWORD - value: "doesntreallymatter" + value: "seededadminpassword" - name: JWT_PRIVATE_KEY - value: "yB/uX5KdyjHN9P34IE49HxAcrlQ4gfvpVJEzGbo5E/I=" + value: "jwtprivatekey" resources: requests: cpu: 100m