Giter Site home page Giter Site logo

Comments (4)

merlinschumacher avatar merlinschumacher commented on May 25, 2024

Could you tell me which "app" parameter you refer to?

We never tested this system on NAS devices due to their varying software layout. A Raspberry Pi or an X86 server is recommended.

from ct-smart-home.

Leinetaler avatar Leinetaler commented on May 25, 2024

For QNAP NAS using "Container-Station" you can install each docker container from this collection seperatly.
The docker compose installation script will not work.

from ct-smart-home.

Sascha8 avatar Sascha8 commented on May 25, 2024

Could you tell me which "app" parameter you refer to?

Sorry, not really... I don't remember anymore... I am still sure that on QNAP the "docker" cmd don't support all parameters.

from ct-smart-home.

tiflor avatar tiflor commented on May 25, 2024

On my QNAP(AMD64 CPU) this is running quite fine, but there are some point which need reconsidering while using this project.

Containerstation from QNAP is a very lightweight frontend for docker/docker-compose and does not implement all docker or compose functionalities.
Container Station says APP to a complete compose file, same is done by the docker-compose, compare this sample app: https://docs.docker.com/compose/samples-for-compose/

To make this more convenient to work with I connect to the docker daemon on QNAP via remote connection with DOCKER_HOST set on my laptop. There is an explanation how to do it in the container station: preferences->docker-certificates. With this setup the QNAP can be seen like any other remote docker host, with all the pros and cons of this kind of setup. Sadly QNAP is providing an old version of dockerd in my case 19.03.13 while my client is already 20.10.0.

In this kind of setup I usually switch to volume mounts which contain the bind mount, this locks like this:

volumes:
  [service_mount]:
    driver_opts:
      type: none
      device: /share/[qnap-volume]/[project]/[service_mount]
      o: bind
 [service_mount]:
    driver_opts:
      type: none
      device: /share/[qnap-volume]/[project]/[service_mount]
      o: bind

With this setup the start.sh file will obviously not work, an option to overcome this is generate the files locally and copy them over to the NAS, what might need fixing in this case are the file permission, which can be handled by accessing the QNAP via ssh and set them correctly.
An alternative could be mounting the folder via smb or nfs.

For me this makes a setup with a remote docker host which runs my workloads, where I can reuse the docker tools from other setups. Container station in my case is just used to see if everything is working fine.

I would recommend to use this project on a QNAP because you benefit from all the work done in this project which gives smooth start, but you should be willing to invest some time to learn the specialities of your device.

from ct-smart-home.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.