aboutsummaryrefslogtreecommitdiffstats
path: root/docker/entrypoint.sh
Commit message (Collapse)AuthorAge
* Add dynamic version of pnpm and npm (#37)Libravatar André Oliveira2022-06-02
|
* Fix pnpm version on entrypoint.shv1.3.6Libravatar André Oliveira2022-06-01
|
* Add /app/recipes as a safe directory to git configv1.3.5Libravatar André Oliveira2022-05-13
| | | | This was due to a problem on the image of the main server
* Add update recipes to ferdium server based on github repo (#33)Libravatar André Oliveira2022-05-13
|
* build: Do not run husky for production builds, only for dev builds (#12)Libravatar Eric Reeves2022-04-30
| | | | | * Use 'is-ci' to determine if we are in a CI system Co-authored-by: Vijay A <vraravam@users.noreply.github.com>
* Rebranded from 'ferdi' to 'ferdium' (#4)Libravatar Vijay Aravamudhan2022-04-24
|
* 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.
* 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 entrypoint.shLibravatar thursday2021-07-21
|
* 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 docker/entrypoint.shLibravatar thursday2021-07-13
| | | Co-authored-by: Cromefire_ <cromefire_@outlook.com>
* Update docker/entrypoint.shLibravatar thursday2021-07-13
| | | Co-authored-by: Cromefire_ <cromefire_@outlook.com>
* Update entrypoint.shLibravatar thursday2021-07-13
| | | Updating APP_KEY location
* Update entrypoint.shLibravatar thursday2021-07-13
| | | Removing remaining references to cofig.txt
* Update comment to deprecate use of config.txt Libravatar thursday2021-07-09
| | | Explain the deprecated state of config.txt (and .env) and reference the readme and .env.example.
* Comment out code to generate .env fileLibravatar thursday2021-07-09
| | | Remove code to check for `config.txt` and generate `/app/.env` file, but keep it in comments for now as documentation.
* Fix all issues found on CR -> especially update README.md, remove creation ↵Libravatar Michal Kostewicz2021-02-09
| | | | of new config.txt, update ignore files.
* Add script which will use config.txt if existLibravatar Michal Kostewicz2021-02-07
|
* Revert line which choose DB folder using env. Move Dockerfile to root. ↵Libravatar Michal Kostewicz2021-02-07
| | | | Simplify export in entrypoint. Update README
* Add new configuration for docker with small script to generate or use ↵Libravatar Michal Kostewicz2021-02-07
APP_KEY. docker-compose was adjusted to use DATA_DIR.