Giter Site home page Giter Site logo

vfxger / alternative_nginx_uwsgi_flask_docker Goto Github PK

View Code? Open in Web Editor NEW
14.0 3.0 3.0 19 KB

An alternative nginx uwsgi flask docker setup

License: GNU General Public License v3.0

Python 29.12% Dockerfile 70.88%
python docker docker-compose flask uwsgi nginx uwsgi-nginx

alternative_nginx_uwsgi_flask_docker's Introduction

alternative_nginx_uwsgi_flask_docker's People

Contributors

vfxger avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

alternative_nginx_uwsgi_flask_docker's Issues

Error with permissions on uwsgi.sock

Greetings,

After cloning your repo, I ran docker-compose build and docker-compose up with no issues.

However, when trying to run the Hello world app from the browser, I get the error below:

server_1 | 2017/06/19 22:01:56 [crit] 7#7: *1 connect() to unix:///sockets/uwsgi.sock failed (13: Permission denied) while connecting to upstream, client: 172.24.0.1, server: , request: "GET / HTTP/1.1", upstream: "uwsgi://unix:///sockets/uwsgi.sock:", host: "127.0.0.1:3000"

Docker runs under it's own account in the host machine (not root), so I thought that might have been the cause, but the error persists even when I ran it as root.

I've done my homework trying to fix this, but nothing helped so far... any suggestions?

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.