Giter Club home page Giter Club logo

Comments (5)

faulander avatar faulander commented on July 19, 2024

from p4s.

chinedu40 avatar chinedu40 commented on July 19, 2024

yes i ran ./firststart.prod.sh and ./startapp.prod.sh with no problems. containers are running. I am running it on a synology NAS using docker. It does seem to work on MacOS docker.

from p4s.

faulander avatar faulander commented on July 19, 2024

from p4s.

chinedu40 avatar chinedu40 commented on July 19, 2024

unfortunatelly i do not have a synology to test. If the containers run, can you access /admin on the server? Do you run it locally on your Mac when it works? If yes. Change the settings in .env.prod to DJANGO_ALLOWED_HOSTS=* If this did work, then you should add the local ip adress from where you are calling the website to the original DJANGO_ALLOWED_HOSTS setting, then it should also work remotely.

Hi, just to let you know changing DJANGO_ALLOWED_HOSTS to =* worked. Is there any issue in leaving this as * rather than specifying the IP?

from p4s.

faulander avatar faulander commented on July 19, 2024

@chinedu40 : It depends on if your synology is reachable from outside your local network. it's a security issue. It just means that Nginx will allow all requests, no matter where they origin from.

In short: if your synology is only reachable internally you're fine.

from p4s.

Related Issues (16)

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.