Ferdium-Server: ferdium/ferdium-server:latest


docker compose:
version: "3.8"
services:
ferdium-server:
#image: ferdium/ferdium-server:1.3.16
image: ferdium/ferdium-server:latest
container_name: ferdium-server
environment:
TZ: 'Europe/Berlin'
NODE_ENV: 'production'
#NODE_ENV: 'development'
APP_URL: 'https://<uri>'
DB_CONNECTION: 'pg'
DB_HOST: '127.0.0.1'
DB_PORT: 5432
DB_USER: '<un>'
DB_PASSWORD: '<pw>'
DB_DATABASE: '<db>'
DB_SSL: false
MAIL_CONNECTION: 'smtp'
SMTP_HOST: '<srv>'
SMTP_PORT: 465
MAIL_SSL: true
MAIL_USERNAME: '<un>'
MAIL_PASSWORD: '<pw>'
MAIL_SENDER: '<un>'
IS_CREATION_ENABLED: true
IS_DASHBOARD_ENABLED: true
IS_REGISTRATION_ENABLED: true
CONNECT_WITH_FRANZ: false
DATA_DIR: '/data'
HOST: 127.0.0.1
PORT: 3017
JWT_USE_PEM: true
CACHE_VIEWS: false
volumes:
- ferdium-database:/data
- ferdium-recipes:/app/build/recipes
restart: unless-stopped
network_mode: host
volumes:
ferdium-recipes:
ferdium-database:
Maybe because of missing recipes, which can't load, because of wrong Node version? See #84 (comment)
**** Generating recipes for first run ****
Cloning into 'recipes'...
npm WARN using --force Recommended protections disabled.
added 1 package in 2s
1 package is looking for funding
run `npm fund` for details
npm notice
npm notice New major version of npm available! 9.8.1 -> 10.2.3
npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.2.3>
npm notice Run `npm install -g npm@10.2.3` to update!
npm notice
ERR_PNPM_UNSUPPORTED_ENGINE Unsupported environment (bad pnpm and/or Node.js version)
Your Node version is incompatible with "/app/recipes".
Expected version: 20.9.0
Got: v18.18.0
10:14AM 50 2023/11/08 10:14AM 2023/11/08 10:14AM 50 pid=146 hostname=<hn> name=ferdium-server err={"type":"Error","message":"/app/build/recipes/all.json: ENOENT: no such file or directory, open '/app/build/recipes/all.json'","stack":"Error: /app/build/recipes/all.json: ENOENT: no such file or directory, open '/app/build/recipes/all.json'\n at Object.openSync (node:fs:603:3)\n at Object.readFileSync (node:fs:471:35)\n at Object.readFileSync (/app/node_modules/.pnpm/jsonfile@6.1.0/node_modules/jsonfile/index.js:50:22)\n at RecipesController.list (/app/app/Controllers/Http/RecipeController.ts:53:32)\n at Injector.callAsync (/app/node_modules/.pnpm/@adonisjs+fold@8.2.0/node_modules/@adonisjs/fold/build/src/Ioc/Injector.js:124:30)","errno":-2,"syscall":"open","code":"ENOENT","path":"/app/build/recipes/all.json","status":500} msg=/app/build/recipes/all.json: ENOENT: no such file or directory, open '/app/build/recipes/all.json'
Ferdium-Server: ferdium/ferdium-server:latest
docker compose:
Maybe because of missing recipes, which can't load, because of wrong Node version? See #84 (comment)