Skip to content
Snippets Groups Projects
Commit 64ec2957 authored by Felipe D'Abrantes's avatar Felipe D'Abrantes
Browse files

Add PLAY_HTTP_SECRET_KEY env variable

parent 07e2c219
No related branches found
No related tags found
1 merge request!32Google Cloud Deployment
...@@ -19,4 +19,4 @@ RUN unzip -d svc target/universal/feed-service-1.0.0.zip \ ...@@ -19,4 +19,4 @@ RUN unzip -d svc target/universal/feed-service-1.0.0.zip \
EXPOSE 9000 EXPOSE 9000
# Delete the RUNNING_PID fle that incorrectly tells Play there is already an instance running # Delete the RUNNING_PID fle that incorrectly tells Play there is already an instance running
CMD rm -f svc/RUNNING_PID && svc/bin/start CMD rm -f svc/RUNNING_PID && svc/bin/start -Dplay.http.secret.key=$PLAY_HTTP_SECRET_KEY
...@@ -20,6 +20,7 @@ services: ...@@ -20,6 +20,7 @@ services:
environment: environment:
- MONGO_URI=mongodb://feed-mongo:27017/ - MONGO_URI=mongodb://feed-mongo:27017/
- JWT_PRIVATE_KEY=yB/uX5KdyjHN9P34IE49HxAcrlQ4gfvpVJEzGbo5E/I= - JWT_PRIVATE_KEY=yB/uX5KdyjHN9P34IE49HxAcrlQ4gfvpVJEzGbo5E/I=
- PLAY_HTTP_SECRET_KEY=DUvbrcM2AbuB7oXboI1x`ZI_?1Iou>/ch2@lFXfrvVkWlHuA848y?GyR/0i2Ma:A
- FRIEND_SERVICE_URI=http://friend-service:9000/ - FRIEND_SERVICE_URI=http://friend-service:9000/
- ENABLE_QUESTION_DB_SEEDING=true - ENABLE_QUESTION_DB_SEEDING=true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment