GithubHelp home page GithubHelp logo

Comments (3)

ahushh avatar ahushh commented on June 26, 2024

Hi! Thanks, glad to hear you like it.

1, 5. I have to hard-code network range because I need a way to determine whether a http request is received from the torgate service. So I just check if IP is 172.19.0.4. It's a dumb and clumsy solution, but I don't know how to do it in a better manner.
2. I've been exploring how Docker Swarm work and how to scale Monaba. Nothing really meaningful here.
3. I used to get this error too, seems that yesod cannot locate settings.yml file. It should have been copied to the current directory by running ./build script. Then it's being attached to a docker container via binding to /var/settings.yml. Make sure you're starting docker-compose from Monaba directory and have the settings file there. Post settings.yml here if it won't work for you.
4. It's for developing purpose, if I'm not mistaken.

from monaba.

binakot avatar binakot commented on June 26, 2024

@ahushh Thanks for feedback.

1,5. I think you should to do next: rename docker-compose.yml to docker-compose.tor.yml and add one more file with name docker-compose.yml withour ip hard-code ips and other specific settings. As for me It is the best and the most flexible solution here.

2. I see.

3. I will try one more time. And If I will got same error I will provide more details.

4. Idk, docker engine create overlay networks itself. I think you use it because of IP hard coding. For my case without TOR I can just remove it.

from monaba.

binakot avatar binakot commented on June 26, 2024

This is my working docker-compose and settings. https://gist.github.com/binakot/d86d4107c5d46e2eae79339aeed4fac0

from monaba.

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.