Skip to content

Latest commit

 

History

History
90 lines (60 loc) · 3.7 KB

README.md

File metadata and controls

90 lines (60 loc) · 3.7 KB

docker-gnu-hc

This repository holds a Docker image configured to run the GNU Health Client application in a VNC server compatible with 3D acceleration using Nvidia GPUs. It also includes a WebDAV server with a web UI running on port 8085.

Instructions

Build the image locally:

cd src
docker build -t gnu-hc --build-arg BASE_IMAGE="vnc-base:latest" .

Run the image locally:

docker run --rm -it --gpus all --shm-size=512m -p 6901:6901 -p 8085:8085 -e VNC_DISABLE_AUTH=true --user root gnu-hc

To access GNU Health Client locally through VNC:

To access the WebDAV UI locally:

Configuration

Available environment variables:

Variable Description Default
VNC_DISABLE_AUTH Disable VNC authentication (no user/password required, use with caution) false
VNC_PW Password for the basic auth (the user is always: "user") vncpassword
VNC_PORT VNC port 6901
VNC_ALLOW_CLIENT_TO_OVERRIDE_VNC_SETTINGS Enable/disable the client to override the VNC settings, it does not have effect on the web UI false

Deployment

To deploy the application to a Kubernetes cluster:

cd k8s
kubectl apply -k .     

Third-party copyright notices

License for files .devcontainer/library-scripts/common-debian.sh and .devcontainer/library-scripts/docker-debian.sh

MIT License

Copyright (c) Microsoft Corporation. All rights reserved.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE

License for EasyDAV (src/easydav)

License
-------

Copyright 2010-2012 Petteri Aimonen <jpa at wd.mail.kapsi.fi>

Redistribution and use in source and binary forms, with or without modification, are
permitted provided that the following conditions are met:

   1. Redistributions of source code must retain the above copyright notice, this list of
      conditions and the following disclaimer.

   2. Redistributions in binary form must reproduce the above copyright notice, this list
      of conditions and the following disclaimer in the documentation and/or other materials
      provided with the distribution.