Skip to content

Commit

Permalink
Generate JWT_SECRET and ADMIN_JWT_SECRET
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmauskop committed Oct 8, 2020
1 parent 1711b7e commit 45093d8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions config/env/production/server.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
module.exports = ({ env }) => ({
host: "0.0.0.0",
url: env("RENDER_EXTERNAL_URL"),
admin: {
auth: {
secret: env("ADMIN_JWT_SECRET"),
},
},
});
4 changes: 4 additions & 0 deletions render.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,7 @@ services:
value: production
- key: DATABASE_FILENAME
value: /data/strapi.db
- key: JWT_SECRET
generateValue: true
- key: ADMIN_JWT_SECRET
generateValue: true

0 comments on commit 45093d8

Please sign in to comment.