eddaoust / docker-symfony Goto Github PK
View Code? Open in Web Editor NEW๐ณ Docker stack for Symfony I PHP8 I Caddy I MariaDB I Supervisor I NPM I Symfony CLI
License: ISC License
๐ณ Docker stack for Symfony I PHP8 I Caddy I MariaDB I Supervisor I NPM I Symfony CLI
License: ISC License
hi,
How do you control the file permissions on /var/www/html?
When you run the new project ($ symfony new ./ --webapp) inside the container, you do it with root permissions so i cant modified code on host machine.
root@38e8e8512856:symfony new ./ --webapp
* Creating a new Symfony project with Composer
(running /usr/bin/composer create-project symfony/skeleton /var/www/html --no-interaction)
* Setting up the project under Git version control
(running git init /var/www/html)
fatal: detected dubious ownership in repository at '/var/www/html'
To add an exception for this directory, call:
git config --global --add safe.directory /var/www/html
exit status 128
:~/Documents/containers/Docker-Symfony$ ls -l www/
total 120
drwxr-xr-x 2 root root 4096 dic 27 14:23 bin
-rw-r--r-- 1 root root 1645 dic 27 14:24 composer.json
-rw-r--r-- 1 root root 87508 dic 27 14:24 composer.lock
drwxr-xr-x 4 root root 4096 dic 27 14:23 config
drwxr-xr-x 2 root root 4096 dic 27 14:23 public
drwxr-xr-x 3 root root 4096 dic 27 14:23 src
-rw-r--r-- 1 root root 1595 dic 27 14:23 symfony.lock
drwxrwxrwx 4 root root 4096 dic 27 14:23 var
drwxr-xr-x 6 root root 4096 dic 27 14:23 vendor
thanks
hi it since that your "image" das not run it fails all the time.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.