Giter Club home page Giter Club logo

symfony_docker's People

Contributors

kurakin-oleksandr avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

symfony_docker's Issues

Permission Denied

I'm getting a permissions error, two different computers.

glt clone ..
docker-compose up --build 

http://localhost:8080/

403 error.

php_1       | [10-Oct-2022 22:23:45] NOTICE: fpm is running, pid 1
php_1       | [10-Oct-2022 22:23:45] NOTICE: ready to handle connections
nginx_1     | 2022/10/10 22:27:02 [error] 30#30: *1 directory index of "/app/public/" is forbidden, client: 172.31.0.1, server: , request: "GET / HTTP/1.1", host: "localhost:8080"
nginx_1     | 172.31.0.1 - - [10/Oct/2022:22:27:02 +0000] "GET / HTTP/1.1" 403 555 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36" "-"
nginx_1     | 2022/10/10 22:27:02 [error] 30#30: *1 open() "/app/public/favicon.ico" failed (2: No such file or directory), client: 172.31.0.1, server: , request: "GET /favicon.ico HTTP/1.1", host: "localhost:8080", referrer: "http://localhost:8080/"
nginx_1     | 172.31.0.1 - - [10/Oct/2022:22:27:02 +0000] "GET /favicon.ico HTTP/1.1" 404 555 "http://localhost:8080/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36" "-"


502 Bad Gateway

After just clone your repo and docker-compose up -d command execution I have 502 Bad Gateway Nginx error on route localhost:8080/api/v1/orders/1

Logs:
2021/01/13 12:43:45 [error] 30#30: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 172.20.0.1, server: , request: "GET /api/v1/orders/1 HTTP/1.1", upstream: "fastcgi://172.20.0.3:9001", host: "localhost:8080"

403 Forbbidden

Ive cloned the exact code from master and ran:

docker-compose up -d --force-recreate --build

The containers start but when visiting localhost:8080 I get 403 Forbidden.

php container fails to start

Setup:
Win10 - Docker V19.03.13

When running docker-compose up (not daemonized) I get these (shortened) logs from the php container

php_1       | 50 packages you are using are looking for funding.
php_1       | Use the `composer fund` command to find out more!
php_1       |
php_1       | Run composer recipes at any time to see the status of your Symfony recipes.
php_1       |
php_1       | Executing script cache:clear [OK]
php_1       | Executing script assets:install public [OK]
php_1       |
': No such file or directorycute 'php
(and then the container restarts)

Any idea why this is happening? Thank you for your time!!!

//EDIT

I DID change something though. First time I only cloned and started I got php_1 | standard_init_linux.go:211: exec user process caused "no such file or directory". By changing CRLF to LF on docker-entrypoint.sh I got past that, but the above error occurred

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.