| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixed error causing Ferdi-server's Adonis APP_KEY not to be read from FERDI_APP_KEY.txt on container restart, which was causing the following error:
```
RuntimeException: E_MISSING_APP_KEY: Make sure to define appKey inside config/app.js file before using Encryption provider
> More details: https://err.sh/adonisjs/errors/E_MISSING_APP_KEY
RuntimeException: E_MISSING_APP_KEY: Make sure to define appKey inside config/app.js file before using Encryption provider
> More details: https://err.sh/adonisjs/errors/E_MISSING_APP_KEY
at Function.missingAppKey (/app/node_modules/@adonisjs/generic-exceptions/src/RuntimeException.js:54:12)
at new Encryption (/app/node_modules/@adonisjs/framework/src/Encryption/index.js:33:33)
at Object.closure (/app/node_modules/@adonisjs/framework/providers/AppProvider.js:257:14)
at Ioc._resolveBinding (/app/node_modules/@adonisjs/fold/src/Ioc/index.js:231:68)
at Ioc.make (/app/node_modules/@adonisjs/fold/src/Ioc/index.js:807:19)
at /app/node_modules/@adonisjs/fold/src/Ioc/index.js:318:19
at Array.map (<anonymous>)
at Ioc._makeInstanceOf (/app/node_modules/@adonisjs/fold/src/Ioc/index.js:317:44)
at Ioc.make (/app/node_modules/@adonisjs/fold/src/Ioc/index.js:799:19)
at AuthManager.getScheme (/app/node_modules/@adonisjs/auth/src/Auth/Manager.js:86:16)
at Auth.authenticator (/app/node_modules/@adonisjs/auth/src/Auth/index.js:118:40)
at new Auth (/app/node_modules/@adonisjs/auth/src/Auth/index.js:68:39)
at Context.<anonymous> (/app/node_modules/@adonisjs/auth/providers/AuthProvider.js:151:14)
at Context.wrappedCallback [as auth] (/app/node_modules/macroable/index.js:132:61)
at Server._handleException (/app/node_modules/@adonisjs/framework/src/Server/index.js:253:63)
at /app/node_modules/@adonisjs/framework/src/Server/index.js:441:14
```
|
| |
|
|
|
| |
Based on the package-lock.json that was generated after installing mysql inside of a running ferdi-server container using the command: npm install --save mysql
|
|
|
| |
Based on the package.json that was generated after installing mysql inside of a running ferdi-server container using the command: npm install --save mysql
|
|
|
| |
Added mysql and dependences to package-lock.json
|
|
|
| |
Adding the node mysql helper
|
| |
|
|
|
| |
Added PUID and PGID values
|
|
|
| |
Attempting to launch the server with su-exec in order to run it as a non-root user.
|
|
|
| |
Added PUID and PGID values to run as non-root
|
|
|
| |
Added su-exec to work towards running ferdi-server as a non-root user.
|
| |
|
|
|
| |
Trying to build without node_modules in the docker ignore to see if that will avoid the current problems running the container without installing the server at runtime.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
| |
Co-authored-by: Cromefire_ <cromefire_@outlook.com>
|
|
|
| |
Co-authored-by: Cromefire_ <cromefire_@outlook.com>
|
|
|
| |
Co-authored-by: Cromefire_ <cromefire_@outlook.com>
|
|
|
| |
Co-authored-by: Cromefire_ <cromefire_@outlook.com>
|
| |
|
| |
|
| |
|
|
|
| |
Fixed the DATA_DIR to align with the rest of the repo and removed the reference to the config volume.
|
| |
|
| |
|
|
|
| |
Co-authored-by: Cromefire_ <cromefire_@outlook.com>
|
|
|
| |
reverting DATA_DIR default to data
|
|
|
| |
Co-authored-by: Cromefire_ <cromefire_@outlook.com>
|
|
|
| |
Co-authored-by: Cromefire_ <cromefire_@outlook.com>
|
|
|
| |
Co-authored-by: Cromefire_ <cromefire_@outlook.com>
|
|
|
| |
Co-authored-by: Cromefire_ <cromefire_@outlook.com>
|
|
|
| |
Co-authored-by: Cromefire_ <cromefire_@outlook.com>
|
|
|
|
|
| |
Add docker-specific DATA_DIR
Co-authored-by: Cromefire_ <cromefire_@outlook.com>
|
|
|
| |
Co-authored-by: Cromefire_ <cromefire_@outlook.com>
|
| |
|
|
|
| |
changed data_dir to /data
|
|
|
| |
changing docker data_dir to /data
|
|
|
| |
Add path for path.join variables.
|
|
|
| |
Updating APP_KEY location
|
|
|
| |
Removing remaining references to cofig.txt
|
|
|
| |
Still trying to fix the .env problem
|
|
|
| |
temporarily removing .env ignore
|
|
|
| |
Creating an empty .env file in an attempt to resolve the runtime issue discussed in PR 48
|
|
|
| |
adding an empty .env file to attempt to resolve
|