Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[REQUEST] Fitness/Health Data Aggregator

Featured Replies

Hi you lovely docker developers.

 

With all these new health apps and fitness trackers around I find myself "connected" to a multitude of apps that all store some of my health/fitness data.

Fitbit, Google Fit, iHealth, RunKeeper, Endomondo, UnderArmour, and the list goes on and on ....

 

 

I am looking for something like OwnCloud to place all my fitness data into one spot and I found this project.

 

Shimmer: http://www.getshimmer.co/

Shimmer is the first and only open-source health data aggregator

 

Shimmer is using this open standard to exchange and store health data

 

Open mHealth: http://www.openmhealth.org/

"HEALTH DATA THAT MAKES SENSE. Free, open-source code that makes it easy for developers to process digital health data"

 

Both of them support Docker.

Can someone suggest how hard/easy it would be to bring these to unRAID?

 

I am not sure if I want to ask you guys to build it for me, as I am not even sure I will use it in the future.

Don't want to waste your precious time.

But if you feel like an extra little challenge ....

 

Thanks

  Roland

 

 

  • Author

OK, I am trying this ....

 

So far I tried to add this docker-hub to unRAID using the extended search and the xml conversion.

 

https://hub.docker.com/r/openmhealth/shimmer-resource-server/

 

I only added the port to the config.

 

The result was this XML and a docker that does not start.

cat my-shimmer-resource-server.xml
<?xml version="1.0" encoding="utf-8"?>
<Container>
  <Name>shimmer-resource-server</Name>
  <Description>A resource server that retrieves health data from third-party APIs and normalizes it.&#13;
[b]Converted By Community Applications[/b]</Description>
  <Registry>https://hub.docker.com/r/openmhealth/shimmer-resource-server/~/dockerfile/</Registry>
  <Repository>openmhealth/shimmer-resource-server</Repository>
  <BindTime>true</BindTime>
  <Privileged>false</Privileged>
  <Environment/>
  <Networking>
    <Mode>bridge</Mode>
    <Publish>
      <Port>
        <HostPort>8083</HostPort>
        <ContainerPort>8083</ContainerPort>
        <Protocol>tcp</Protocol>
      </Port>
    </Publish>
  </Networking>
  <Data>
    <Volume>
      <HostDir>/mnt/cache/Apps/shimmer</HostDir>
      <ContainerDir>/opt/omh/shimmer</ContainerDir>
      <Mode>rw</Mode>
    </Volume>
  </Data>
  <Version></Version>
  <WebUI></WebUI>
  <Banner></Banner>
  <Icon></Icon>
  <ExtraParams></ExtraParams>
</Container>

 

I assume it does not start as there is very little in the docker file ....

 

FROM java:openjdk-8-jre

MAINTAINER Emerson Farrugia <[email protected]>

 

ENV SERVER_PREFIX /opt/omh/shimmer

 

RUN mkdir -p $SERVER_PREFIX

ADD shimmer.war $SERVER_PREFIX/

EXPOSE 8083

 

CMD /usr/bin/java -jar $SERVER_PREFIX/shimmer.war --spring.config.location=file:$SERVER_PREFIX/

 

of course shimmer.war does not exist.

 

How do I get these instructions into the docker-file?

Option 1. Download and run Docker images

 

If you don't have Docker, Docker Compose, and Docker Machine installed, download Docker Toolbox and follow the installation instructions for your platform. If you don't have a running Docker machine, follow these instructions to deploy one locally, or these instructions to deploy to the cloud on any of these cloud platforms.

 

Once you have a running Docker host, in a terminal

 

Clone this Git repository.

Run docker-machine ls to find the name and IP address of your active Docker host.

Run eval "$(docker-machine env host)" to prepare environment variables, replacing host with the name of your Docker host.

Run the ./update-compose-files.sh script.

This step should be removed once Compose 1.5 is released.

Download and start the containers by running

docker-compose up -d

If you want to see logs and keep the containers in the foreground, omit the -d.

This will download up to 1 GB of Docker images if you don't already have them, the bulk of which are MongoDB, nginx and OpenJDK base images.

It can take up to a minute for the containers to start up. You can check their progress using docker-compose logs if you started with -d.

Visit http://<your-docker-host-ip>:8083 in a browser.

 

Roland

  • Community Expert

docker-compose isn't supported in the docker version used by unRAID. Maybe it will be when 6.2 is released.

  • Author

Thanks trurl,

 

looking at it, it seems they only bring up a mongo db docker using compose, maybe I can still work around this by making my own docker.

 

Maybe I start with an AWS instance where I can play without the unRAID restriction and once I get it working come back to unRAID.

 

Thanks

  Roland

 

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.