File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 2121 FILESQL : ' {{.FILESQL | default "dump.sql"}}'
2222 FOLDERLAMPY : ' {{.FOLDERLAMPY | default "lampy"}}'
2323 SERVERNAME : ' {{.SERVERNAME | default "symfony.traefik.me"}}'
24- DOCKERCOMPOSEFILE : ' {{.DOCKERCOMPOSEFILE | default "docker-compose.yml"}}'
24+ DOCKERCOMPOSEFILE : ' {{.DOCKERCOMPOSEFILE | default "docker-compose-lampy .yml"}}'
2525 SYMFONYVERSION : ' {{.SYMFONYVERSION | default "7.3"}}'
2626
2727tasks :
@@ -118,7 +118,7 @@ tasks:
118118 desc : " Installation initiale de Composer et des dépendances"
119119 silent : true
120120 cmds :
121- - docker run --rm -v $(pwd)/apps:/var/www -w /var/www $(pwd)/apps:/var/www -w /var/www $( awk '/www:/ {f=1} f && /image:/ {print $2; exit}' {{.DOCKERCOMPOSEFILE}}) symfony composer install
121+ - docker run --rm -v $(pwd)/apps:/var/www -w /var/www $(awk '/www:/ {f=1} f && /image:/ {print $2; exit}' {{.DOCKERCOMPOSEFILE}}) symfony composer install
122122
123123 symfony:waiting :
124124 desc : " Attend que les services soient opérationnels"
@@ -141,7 +141,7 @@ tasks:
141141 desc : " Crée un nouveau projet Symfony dans le dossier apps"
142142 silent : true
143143 cmds :
144- - docker run --rm -v $(pwd):/var/www -w /var/www -e COMPOSER_MEMORY_LIMIT=512M -e HOME=/var/www --user $(id -u):$(id -g) $(pwd)/apps:/var/www -w /var/www $( awk '/www:/ {f=1} f && /image:/ {print $2; exit}' {{.DOCKERCOMPOSEFILE}}) sh -c "git config --global user.name 'Symfony Project' && git config --global user.email 'symfony@example.com' && symfony new apps --version='{{.SYMFONYVERSION}}' --webapp"
144+ - docker run --rm -v $(pwd):/var/www -w /var/www -e COMPOSER_MEMORY_LIMIT=512M -e HOME=/var/www --user $(id -u):$(id -g) $(awk '/www:/ {f=1} f && /image:/ {print $2; exit}' {{.DOCKERCOMPOSEFILE}}) sh -c "git config --global user.name 'Symfony Project' && git config --global user.email 'symfony@example.com' && symfony new apps --version='{{.SYMFONYVERSION}}' --webapp"
145145 - rm -rf ./apps/.git
146146 - rm -rf ./.gitconfig
147147
You can’t perform that action at this time.
0 commit comments