GithubHelp home page GithubHelp logo

ottobonn / dsm-containers Goto Github PK

View Code? Open in Web Editor NEW
17.0 17.0 2.0 15 KB

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

Shell 100.00%

dsm-containers's People

Contributors

ottobonn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

dsm-containers's Issues

Destinations outside the VLAN

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

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.