Git Product home page Git Product logo

Comments (9)

maxhelias avatar maxhelias commented on July 29, 2024

Can you tell me if it's ok by changing this ligne https://github.com/dunglas/symfony-docker/blob/master/docker-compose.yml#L37 by

./public:/srv/app/public:rw,cached

from symfony-docker.

mbertoneri avatar mbertoneri commented on July 29, 2024

Thx Maxime for your help, it does not work, but you made me on the way :
./public:/srv/app/public : it mounts the local public witch doesn't have the 'bundles' dir ( I've just cloned my repo )

I've made the nginx mount the php public folder and now nginx can see the public/bundles.
Now there is something else to solve with FOSJsRoutingBundle (error 500) :)

The problem was definitely me !

from symfony-docker.

maxhelias avatar maxhelias commented on July 29, 2024

Great, it's a small step forward.
For information, the bundle dir is created by php bin/console assets:install --symlink public and it's execute automaticly on composer install or update with Flex.

Don't hesitate to update the ticket according to your progress 😉

from symfony-docker.

mbertoneri avatar mbertoneri commented on July 29, 2024

Ok i was looking for why the bundles were in place without doing something ^^

from symfony-docker.

mbertoneri avatar mbertoneri commented on July 29, 2024

Sorry, could I ask a question ?
Should I open an issue or something for ACL issue since it's not supported by NAS Synology and I had to replace these lines:

setfacl -R -m u:www-data:rwX -m u:"$(whoami)":rwX var
setfacl -dR -m u:www-data:rwX -m u:"$(whoami)":rwX var

by classics chmod and chown

from symfony-docker.

maxhelias avatar maxhelias commented on July 29, 2024

Are you using Synology DSM ? In my memory, by default getfacl and setfacl commands aren't installed.

from symfony-docker.

mbertoneri avatar mbertoneri commented on July 29, 2024

Yep DSM 6. If someone is using a Synology NAS, it will have the same acl issue than me.

Maybe we can say something in readme ? Or i post my modifications here and close the issue as you prefer.

from symfony-docker.

maxhelias avatar maxhelias commented on July 29, 2024

I don't know DSM well but maybe you should be able to install "acl" like on Linux.
I'm not familiar with DSM but maybe you should be able to install "acl" like on Linux. After Synology is too little used for this kind of thing IMO.

from symfony-docker.

mbertoneri avatar mbertoneri commented on July 29, 2024

Yep i'm agree with you, i close :)
Thx ^^

from symfony-docker.

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.