Comments (4)
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.
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.
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.
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)
- Add HTTPS for NodeRed (+Mosquitto) HOT 2
- Enable Zigbee2Mqtt Frontend
- possible compose file error: network_mode: "host" HOT 2
- Frontend zigbee2mqtt at port 1881 not working HOT 6
- Adding ttyUSB* as serial port HOT 2
- allow Conbee zigbee USB stick in start.sh HOT 2
- Error executing vcgencmd with package node-red-contrib-vcgencmd
- Problem latest docker mosquitto version HOT 3
- zzh! CC2652R Zigbee Stick
- issues with serial node or python
- No connection to Mosquitto Mqtt possible -> timeout HOT 2
- After updating: no connection to node-red HOT 9
- ZigBee devices not visible in node-red, but available in ZigBee dashboard HOT 4
- Fatal error after updating from nodered v2.0.6 (unreachable code in line 0 #failuremessage object: 0x7ec6023c illegal instruction) HOT 2
- Error when restarting nodered container: The pid file "/run/dbus/dbus.pid" exists HOT 3
- Persistence with Mosquitto
- start.sh uses ‚docker compose‘ instead of ‚docker compose‘ HOT 1
- "exec_die" every 30 seconds HOT 1
- Request for Node.js version 16
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ct-smart-home.