| Commit message (Collapse) | Author | Age |
| |
|
| |
|
|
|
| |
SMTP misspelled.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
`docker/.gitignore` was added to exclude
`docker/docker-compose.override.yml` from the repository in case anyone
decides to create it to locally override `docker/docker-compose.yml`.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
`docker/entrypoint.sh` was updated to fix errors that results in a
container that runs on a locally built Ferdi Server image.
Fixes that were made:
- shebang was changed to `#!/bin/sh` as the Node Alpine image does not
have `bash`, therefore the container cannot start because of the error
"/usr/local/bin/docker-entrypoint.sh: exec: line 8: /entrypoint.sh:
not found";
- `if` condition was updated to make it more portable so it works with
non-Bash shells;
- `su-exec` command was updated to remove the redundant `#!/bin/bash`
from the end of the line as it was causing the error "Error: Cannot
find module '/app/server.js#!/bin/bash'".
Additional code optimization changes:
- tabs were replaced with spaces;
- optimizations to avoid code duplication:
- new variable `key_file` was added to hold the path to the Ferdi app
key file;
- the function `print_app_key_message` was added to print the
informational message about the app key.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
```
|
| |
|
|
|
| |
Added PUID and PGID values
|
|
|
| |
Attempting to launch the server with su-exec in order to run it as a non-root user.
|
| |
|
| |
|
| |
|
| |
|
|
|
| |
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>
|
|
|
| |
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>
|
|
|
| |
Co-authored-by: Cromefire_ <cromefire_@outlook.com>
|
|
|
| |
Updating APP_KEY location
|
|
|
| |
Removing remaining references to cofig.txt
|
|
|
| |
Creating an empty .env file in an attempt to resolve the runtime issue discussed in PR 48
|
| |
|
|
|
| |
combining the docker .gitignore with the main server repo .gitignore.
|
|
|
| |
Added additional migration note for existing users.
|
|
|
| |
Updated migration text and deprecation warning.
|
|
|
| |
Update default database name.
|
|
|
| |
Updated default database names throughout readme.
|
|
|
| |
Added links to Docker documentation to explain port mapping, the user runtime variables and container volumes.
|
|
|
| |
Fixed Ferdi-server syntax throughout the readme (specifically capitalization and the - between Ferdi and server).
|
|
|
| |
I believe the Dockerfile now sets Ferdi-server's port to 3333, so I've updated the documentation to reflect this.
|
|
|
| |
Fixed spelling and grammar issues and updated with warning for existing users regarding config.txt being deprecated and the default sqlite database location and name being changed.
|
|
|
| |
Updated to reflect the changes made to database.js and alert existing users to breaking changes.
|
|
|
| |
As per changes to database.js and the discussion here: https://github.com/getferdi/server/pull/48#discussion_r667150127
|