working on local

This commit is contained in:
Sebastian Seedorf
2022-02-12 19:29:51 +01:00
parent 51fbdc28b2
commit a722217dd5
6 changed files with 1147 additions and 2718 deletions

16
.editorconfig Normal file
View File

@@ -0,0 +1,16 @@
root = true
[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[{package.json,*.yml}]
indent_style = space
indent_size = 2
[*.md]
trim_trailing_whitespace = false

View File

@@ -1,5 +1,5 @@
module.exports = ({ env }) => ({ module.exports = ({ env }) => ({
auth: { auth: {
secret: env('ADMIN_JWT_SECRET', '1788c16dbca0d54e6990d8dce6a2cf3b'), secret: env('ADMIN_JWT_SECRET', '85231b02b90b6167debc44667cbb8ef9'),
}, },
}); });

View File

@@ -1,7 +1,7 @@
module.exports = ({ env }) => ({ module.exports = ({ env }) => ({
host: env('HOST', '0.0.0.0'), host: env('HOST', '0.0.0.0'),
port: env.int('PORT', 3000), port: env.int('PORT', 3000),
url: env('URL', '') + '/api', url: env('PUBLIC_URL', '/api'),
proxy: true, proxy: true,
app: { app: {
keys: env.array('APP_KEYS'), keys: env.array('APP_KEYS'),

3835
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -11,10 +11,10 @@
"postinstall": "node ./bin/postinstall.js" "postinstall": "node ./bin/postinstall.js"
}, },
"dependencies": { "dependencies": {
"@strapi/plugin-graphql": "^4.0.6", "@strapi/plugin-graphql": "4.0.7",
"@strapi/plugin-i18n": "^4.0.6", "@strapi/strapi": "4.0.7",
"@strapi/plugin-users-permissions": "^4.0.6", "@strapi/plugin-users-permissions": "4.0.7",
"@strapi/strapi": "^4.0.6", "@strapi/plugin-i18n": "4.0.7",
"mysql": "^2.18.1", "mysql": "^2.18.1",
"sqlite3": "^5.0.2" "sqlite3": "^5.0.2"
}, },

View File

@@ -3,7 +3,7 @@
client: web client: web
secret: <client secret> secret: <client secret>
subdomain: auth.sebse.de/auth/realms/public subdomain: auth.sebse.de/auth/realms/public
redirect after login: / <somewhere in the app> redirect after login: / <somewhere in the app> // http://localhost:3000/api/auth/keycloak/callback
# remove uuid from package.json # remove uuid from package.json