aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAge
...
| * | Update build-and-publish.ymlLibravatar thursday2021-11-17
| | |
| * | Update build-and-publish.ymlLibravatar thursday2021-11-17
| | |
| * | Update build-and-publish.ymlLibravatar thursday2021-11-16
| | |
| * | Delete main.ymlLibravatar thursday2021-11-16
| | |
| * | Create build-and-publish.ymlLibravatar thursday2021-11-16
| | |
| * | Merge pull request #2 from getferdi/masterLibravatar thursday2021-11-16
| |\ \ | | | | | | | | Update to head
* | | | Fix DATA_DIR documentationLibravatar thursday2021-11-23
| | | |
* | | | Use GH_TOKEN secret instead of GITHUB_TOKENLibravatar kytwb2021-11-19
| | | | | | | | | | | | Failed to add secret; secret names must not start with GITHUB_.
* | | | Adding updated Docker image build workflow (#83)Libravatar thursday2021-11-18
| |_|/ |/| |
* | | Update README.mdLibravatar thursday2021-11-17
| |/ |/|
* | Merge branch 'master' into masterLibravatar thursday2021-11-16
|\|
| * Update entrypoint.shLibravatar thursday2021-08-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 ```
| * Merge pull request #1 from k0staa/masterLibravatar thursday2021-08-17
| |\ | | | | | | Test merge
* | | Fix some more documentationLibravatar Vijay A2021-10-30
| | |
* | | Fix some more documentationLibravatar Vijay A2021-10-30
| | |
* | | Lock Docker base image to 14.17 as expected by the server code.Libravatar Vijay A2021-10-30
| | |
* | | Do not error out if husky has not been installed. Ignore .husky folder from ↵Libravatar Vijay A2021-10-30
| | | | | | | | | | | | Docker context
* | | Upgrade the Node package `pg` to at least 8.0.3Libravatar Edgars2021-10-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `package.json` and `package-lock.json` were updated to upgrade the Node package `pg` to at least version 8.0.3 to fix the following error: SubError [TimeoutError]: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call? at /app/node_modules/knex/lib/client.js:339:13 at tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23) at /app/node_modules/bluebird/js/release/catch_filter.js:17:41 at tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23) at Promise._settlePromiseFromHandler (/app/node_modules/bluebird/js/release/promise.js:517:31) at Promise._settlePromise (/app/node_modules/bluebird/js/release/promise.js:574:18) at Promise._settlePromise0 (/app/node_modules/bluebird/js/release/promise.js:619:10) at Promise._settlePromises (/app/node_modules/bluebird/js/release/promise.js:695:18) at _drainQueueStep (/app/node_modules/bluebird/js/release/async.js:138:12) at _drainQueue (/app/node_modules/bluebird/js/release/async.js:131:9) at Async._drainQueues (/app/node_modules/bluebird/js/release/async.js:147:5) at Immediate.Async.drainQueues [as _onImmediate] (/app/node_modules/bluebird/js/release/async.js:17:14) at processImmediate (internal/timers.js:464:21) { sql: undefined, bindings: undefined }
* | | Exclude `docker-compose.override.yml` from repoLibravatar Edgars2021-10-28
| | | | | | | | | | | | | | | | | | `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`.
* | | Fix `docker/entrypoint.sh`Libravatar Edgars2021-10-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `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.
* | | Merge pull request #48 from k0staa/masterLibravatar thursday2021-09-18
|\ \ \ | | | | | | | | Moving the server-docker repository to the server repository and enabling image building from the current version of the application code
| * | | Fixed NGINX config example indentation.Libravatar thursday2021-09-17
| | | |
| * | | Fixed shebang and simplfied if statement.Libravatar thursday2021-09-17
| | | |
| * | | Update entrypoint.shLibravatar thursday2021-09-16
| | | |
| * | | Update entrypoint.shLibravatar thursday2021-08-23
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 ```
| * | Update DockerfileLibravatar thursday2021-07-21
| | |
| * | Update package-lock.jsonLibravatar thursday2021-07-21
| | | | | | | | | 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
| * | Added mysqlLibravatar thursday2021-07-21
| | | | | | | | | 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 to package-lock.jsonLibravatar thursday2021-07-21
| | | | | | | | | Added mysql and dependences to package-lock.json
| * | Update package.jsonLibravatar thursday2021-07-21
| | | | | | | | | Adding the node mysql helper
| * | Update entrypoint.shLibravatar thursday2021-07-21
| | |
| * | Update docker-compose.ymlLibravatar thursday2021-07-21
| | | | | | | | | Added PUID and PGID values
| * | Update entrypoint.shLibravatar thursday2021-07-21
| | | | | | | | | Attempting to launch the server with su-exec in order to run it as a non-root user.
| * | Update .env.exampleLibravatar thursday2021-07-21
| | | | | | | | | Added PUID and PGID values to run as non-root
| * | Update DockerfileLibravatar thursday2021-07-21
| | | | | | | | | Added su-exec to work towards running ferdi-server as a non-root user.
| * | Update .dockerignoreLibravatar thursday2021-07-19
| | |
| * | Update .dockerignoreLibravatar thursday2021-07-18
| | | | | | | | | 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.
| * | Update DockerfileLibravatar thursday2021-07-18
| | |
| * | Update README.mdLibravatar thursday2021-07-18
| | |
| * | Update README.mdLibravatar thursday2021-07-18
| | |
| * | Update README.mdLibravatar thursday2021-07-18
| | |
| * | Update README.mdLibravatar thursday2021-07-18
| | |
| * | Update README.mdLibravatar thursday2021-07-18
| | |
| * | Update README.mdLibravatar thursday2021-07-18
| | |
| * | Update docker/docker-compose.ymlLibravatar thursday2021-07-18
| | | | | | | | | Co-authored-by: Cromefire_ <cromefire_@outlook.com>
| * | Update docker/docker-compose.ymlLibravatar thursday2021-07-18
| | | | | | | | | Co-authored-by: Cromefire_ <cromefire_@outlook.com>
| * | Update docker/docker-compose.ymlLibravatar thursday2021-07-18
| | | | | | | | | Co-authored-by: Cromefire_ <cromefire_@outlook.com>
| * | Update docker/docker-compose.ymlLibravatar thursday2021-07-18
| | | | | | | | | Co-authored-by: Cromefire_ <cromefire_@outlook.com>
| * | Update README.mdLibravatar thursday2021-07-18
| | |
| * | Update README.mdLibravatar thursday2021-07-18
| | |