ottobonn / dsm-containers Goto Github PK
View Code? Open in Web Editor NEWMy Docker-compose configuration for my Synology NAS
Home Page: https://www.travisgeis.com/2020/07/05/homeassistant-in-docker-on-synology-nas/
License: MIT License
My Docker-compose configuration for my Synology NAS
Home Page: https://www.travisgeis.com/2020/07/05/homeassistant-in-docker-on-synology-nas/
License: MIT License
Hello!
First of all, thank you very much for this really instructive overview and sample configuration.
Especially with Synology NAS I see the following problem:
What if I not only want to use NPM to reach other Docker containers in the same macvlan, but also Synology DSM apps outside the macvlan network?
NPM is located in the macvlan (because NPM listens on Port 80/443 and would be otherwise in conflict with Synology DSM at this point), which means that destinations outside the macvlan cannot be reached by NPM by default. This is not a problem for Docker containers, as these can also be created to run in the same macvlan network. So we can use NPM for all Docker containers.
The problem starts when the NPM is supposed to point also to synology services such as the DSM web interface or the MailPlus-GUI. Because DSM runs outside the macvlan and have his own reverse proxy ...
Example:
NPM IP: 192.168.0.201 (macvlan)
NAS (DSM) IP: 192.168.0.100 (non virtual network)
So the setup for a proxy host in NPM-GUI:
dsm-gui.domain.com --> Destination: 192.168.0.100:[DSM-Port]
ends in a 502-Error (Bad Request).
Is it possible to set a custom nginx configuration with your example network configuration or are modifications to your network configuration necessary in this case?
Thank you and best regards!
Chris
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.