Code Monkey home page Code Monkey logo

Comments (4)

atb00ker avatar atb00ker commented on August 28, 2024

Hi,

You may find ansible script settings helpful if you are installing it via ansible. click here for more settings.

Particularly, this might help:

    openwisp2_allowed_hosts:
        - myadditionalhost.openwisp.org

You can also manually add url to allowed_hosts. Just look for settings.py in /opt/openwisp2/openwisp2.

With docker, someone else might be able to help better.
But i think this should help.

P.S: It looks like a question relating to setup. You may find our mailing list helpful for this. Read about other support channels here.
(This is actually our bug tracker)

Thanks.

from openwisp-controller.

nemesifier avatar nemesifier commented on August 28, 2024

Try adding local_settings.py in tests/, should work. Keep in mind this is intended only for development.

from openwisp-controller.

sah-anshu avatar sah-anshu commented on August 28, 2024

Yes , for development it is OK, but how can i implement .env files in Settings.py while using Docker. I suppose we need to modify settings.py accordingly. But i can't locate it

from openwisp-controller.

nemesifier avatar nemesifier commented on August 28, 2024

it's in test/settings.py but again, that Dockerfile we have here is not intended for production usage. For production we have an ansible role at https://github.com/openwisp/ansible-openwisp2.
Dockerizing openwisp2 is not as trivial as this Dockerfile we have here, especially with the new version which should be released in a couple of months.

PS: from now on please use one of the support channels for support questions, thank you @sah-anshu.

from openwisp-controller.

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.