SOLVED: Web Client
Is it possible to enable or is there a guide to enable the web client
UPDATE: Finally managed to find a workaround:
(But it would be nice to have an option to include it as well seamlessly on the docker compose)
Update first update the .yml file to open the 8000 on the app: container under localhost:80 or any port to your preferences
app:
build: ./gnuhealth
depends_on:
db:
condition: service_healthy
volumes:
- ./app-data:/opt/gnuhealth/var/lib
- ./app-log:/opt/gnuhealth/var/log
ports:
- 80:8000
Then build/rebuild docker compose.
docker exec -it gnu-health-docker-compose-main-app-1 bash
apt install nano npm
cd /usr/lib/
mkdir node-modules
cd node-modules
wget https://downloads.tryton.org/6.0/tryton-sao-last.tgz
tar xzf tryton-sao-last.tgz
cd package
npm install --production --legacy-peer-deps
nano /opt/gnuhealth/etc/trytond.conf
On the [web] section:
[web]
listen = [::]:8000
root = /usr/lib/node-modules/package
Finally, exit the container bash environment and restart
exit
docker compose restart
Edited by system198