Skip to content

Commit 132a7c9

Browse files
committed
Update things related to play.http.secret.key
1 parent 3a4d73b commit 132a7c9

3 files changed

Lines changed: 11 additions & 4 deletions

File tree

RELEASES.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
LogList Release Notes
2+
=====================
3+
4+
2.0.0
5+
-----
6+
This is the first release after Play framework update.
7+
8+
Remember to update the configuration file:
9+
- `application.secret` is now `play.http.secret.key`

loglist.dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ RUN rm -rf scalajvm-*
1414
# Steps below mirror our docs/loglist.service
1515
# We don't set `-Dhttp.address=127.0.0.1` because we want the service to be
1616
# accessible from outside.
17-
# We pass an additional option to set a secret because Play! won't start
18-
# without it.
19-
ENTRYPOINT /opt/loglist/bin/scalajvm -Dhttp.port=9000 -Dpidfile.path=/dev/null -Dplay.http.secret.key="this key is long and secure to make Play! happy"
17+
ENTRYPOINT /opt/loglist/bin/scalajvm -Dhttp.port=9000 -Dpidfile.path=/dev/null
2018

2119
EXPOSE 9000/tcp

scalajvm/conf/application.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# This must be changed for production, but we recommend not changing it in this file.
99
#
1010
# See http://www.playframework.com/documentation/latest/ApplicationSecret for more details.
11-
application.secret="kZCA75ED`u;4xUB1RhKj?Z=In[8u=7;Ehb>R[y<JSdm0@=Q?spk1Fih0FnQtgteq"
11+
play.http.secret.key="kZCA75ED`u;4xUB1RhKj?Z=In[8u=7;Ehb>R[y<JSdm0@=Q?spk1Fih0FnQtgteq"
1212

1313
# The application languages
1414
# ~~~~~

0 commit comments

Comments
 (0)