Asustor Kresus : outil de gestion de budget (open-source)

frodon237

Apprenti
28 Décembre 2019
61
2
8
Bonjour,

Je cherche à utiliser l'app Kresus disponible sur Docker Hub. https://hub.docker.com/r/bnjbvr/kresus

Mais je ne suis pas capable de le faire fonctionner via Docker sur mon Asustor AS5202T.

Qui est intéressé pour proposer cette app dans la bibliothèque d'Asustor ?

Cordialement.
 
Bonjour,

Je t'ai réaliser le début de la création du conteneur, mais il reste à le configurer pour éviter des erreurs.
En observation, il semble qu'il cherche des dépendance qu'il existe plus ou déplacer.

Faudra faire un ticket : https://framagit.org/kresusapp/kresus/-/issues


YAML:
version: '3.9'
services:
 kresus:
  image: 'bnjbvr/kresus:0.18.1'
  container_name: 'Kresus'
  network_mode: 'bridge'
  restart: 'unless-stopped'
  environment:
   NODE_ENV: 'production'
   KRESUS_LOGIN: 'user'
   KRESUS_DIR: '/home/user/data'
   KRESUS_USER_ID: '1000'
   PORT: '9876'
   HOST: '0.0.0.0'
   #KRESUS_PYTHON_EXEC: 'python3'
   #KRESUS_URL_PREFIX: '/money'
   #KRESUS_SALT: 'PASSWORD ENCRYPT'
   #KRESUS_FORCE_DEMO_MODE: 'false'
   #KRESUS_WOOB_DIR: ''
   #KRESUS_WOOB_SOURCES_LIST: ''
   #KRESUS_EMAIL_TRANSPORT: ''
   #KRESUS_EMAIL_SENDMAIL_BIN: ''
   #KRESUS_EMAIL_FROM: ''
   #KRESUS_EMAIL_HOST: ''
   #KRESUS_EMAIL_PORT: ''
   #KRESUS_EMAIL_USER: ''
   #KRESUS_EMAIL_PASSWORD: ''
   #KRESUS_EMAIL_FORCE_TLS: 'false'
   #KRESUS_EMAIL_REJECT_UNAUTHORIZED_TLS: 'true'
   #KRESUS_APPRISE_API_BASE_URL: ''
   #KRESUS_AUTH: ''
   #KRESUS_LOG_FILE: '/home/user/data/kresus.log'
   KRESUS_DB_TYPE: 'sqlite'
   KRESUS_DB_LOG: 'error'
   KRESUS_DB_SQLITE_PATH: '/tmp/dev.sqlite'
   #KRESUS_DB_HOST: ''
   #KRESUS_DB_PORT: ''
   #KRESUS_DB_USERNAME: ''
   #KRESUS_DB_PASSWORD: ''
   #KRESUS_DB_NAME: ''
  volumes:
   - '/share/Docker/Kresus/data:/home/user/data'
   - '/share/Docker/Kresus/woob:/woob'
   - '/share/Docker/Kresus/config.ini:/opt/config.ini'
   - '/etc/localtime:/etc/localtime'
  ports:
   - '9876:9876'

Config.ini:
- Documentation:
> https://kresus.org/install-docker.html
> https://kresus.org/admin.html

- Fichier: https://framagit.org/kresusapp/kresus/raw/main/support/docker/config.example.ini



Log:
Bash:
Kresus  | warning kresus > ofx > xml2json > hoek@4.2.1: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
Kresus  | warning kresus > ofx > xml2json > joi@13.7.0: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
Kresus  | warning kresus > ofx > xml2json > joi > hoek@5.0.4: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
Kresus  | warning kresus > ofx > xml2json > joi > topo@3.0.3: This module has moved and is now available at @hapi/topo. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.
Kresus  | warning kresus > ofx > xml2json > joi > topo > hoek@6.1.3: This module has moved and is now available at @hapi/hoek. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.
Kresus  | /usr/local/share/.config/yarn/global/node_modules/kresus/build/server/config.js:19
Kresus  |     throw new Error(msg);
Kresus  |     ^
Kresus  |
Kresus  | Error: missing path for the sqlite database
Kresus  |     at crash (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/config.js:19:11)
Kresus  |     at dependentCheck (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/config.js:356:25)
Kresus  |     at Object.apply (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/config.js:634:9)
Kresus  |     at Object.<anonymous> (/usr/local/share/.config/yarn/global/node_modules/kresus/bin/kresus.js:195:14)
Kresus  |     at Module._compile (node:internal/modules/cjs/loader:1254:14)
Kresus  |     at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
Kresus  |     at Module.load (node:internal/modules/cjs/loader:1117:32)
Kresus  |     at Module._load (node:internal/modules/cjs/loader:958:12)
Kresus  |     at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
Kresus  |     at node:internal/main/run_main_module:23:47
Kresus  |
Kresus  | Node.js v18.14.2
Kresus  | warning kresus > ofx > xml2json > joi@13.7.0: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
Kresus  | warning kresus > ofx > xml2json > hoek@4.2.1: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
Kresus  | warning kresus > ofx > xml2json > joi > hoek@5.0.4: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
Kresus  | warning kresus > ofx > xml2json > joi > topo@3.0.3: This module has moved and is now available at @hapi/topo. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.
Kresus  | warning kresus > ofx > xml2json > joi > topo > hoek@6.1.3: This module has moved and is now available at @hapi/hoek. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.
 
Dernière édition: