chore: minor improvements and sync with API Platform (#277)
This commit is contained in:
parent
90d3f391db
commit
895d72daff
@ -1,6 +1,9 @@
|
|||||||
**/*.log
|
**/*.log
|
||||||
**/*.md
|
**/*.md
|
||||||
**/*.php~
|
**/*.php~
|
||||||
|
**/*.dist.php
|
||||||
|
**/*.dist
|
||||||
|
**/*.cache
|
||||||
**/._*
|
**/._*
|
||||||
**/.dockerignore
|
**/.dockerignore
|
||||||
**/.DS_Store
|
**/.DS_Store
|
||||||
@ -14,15 +17,14 @@
|
|||||||
**/docker-compose.yml
|
**/docker-compose.yml
|
||||||
**/Dockerfile
|
**/Dockerfile
|
||||||
**/Thumbs.db
|
**/Thumbs.db
|
||||||
|
.github/
|
||||||
|
docs/
|
||||||
|
public/bundles/
|
||||||
|
tests/
|
||||||
|
var/
|
||||||
|
vendor/
|
||||||
.editorconfig
|
.editorconfig
|
||||||
.env.*.local
|
.env.*.local
|
||||||
.env.local
|
.env.local
|
||||||
.env.local.php
|
.env.local.php
|
||||||
.php_cs.cache
|
.env.test
|
||||||
bin/*
|
|
||||||
!bin/console
|
|
||||||
docker/db/data/
|
|
||||||
helm/
|
|
||||||
public/bundles/
|
|
||||||
var/
|
|
||||||
vendor/
|
|
||||||
|
@ -15,7 +15,7 @@ charset = utf-8
|
|||||||
trim_trailing_whitespace = true
|
trim_trailing_whitespace = true
|
||||||
insert_final_newline = true
|
insert_final_newline = true
|
||||||
|
|
||||||
[*.{js,html}]
|
[*.{js,html,ts,tsx}]
|
||||||
indent_style = space
|
indent_style = space
|
||||||
indent_size = 2
|
indent_size = 2
|
||||||
|
|
||||||
@ -43,10 +43,6 @@ indent_style = space
|
|||||||
indent_size = 4
|
indent_size = 4
|
||||||
trim_trailing_whitespace = false
|
trim_trailing_whitespace = false
|
||||||
|
|
||||||
[api/helm/api/**.yaml]
|
|
||||||
indent_style = space
|
|
||||||
indent_size = 2
|
|
||||||
|
|
||||||
[.github/workflows/*.yml]
|
[.github/workflows/*.yml]
|
||||||
indent_style = space
|
indent_style = space
|
||||||
indent_size = 2
|
indent_size = 2
|
||||||
|
@ -8,9 +8,8 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ./:/srv/app
|
- ./:/srv/app
|
||||||
- ./docker/php/conf.d/app.dev.ini:/usr/local/etc/php/conf.d/app.dev.ini:ro
|
- ./docker/php/conf.d/app.dev.ini:/usr/local/etc/php/conf.d/app.dev.ini:ro
|
||||||
# If you develop on Mac or Windows you can remove the var/ and vendor/ directories
|
# If you develop on Mac or Windows you can remove the vendor/ directory
|
||||||
# from the bind-mount for better performance by enabling the next 2 lines:
|
# from the bind-mount for better performance by enabling the next line:
|
||||||
#- /srv/app/var
|
|
||||||
#- /srv/app/vendor
|
#- /srv/app/vendor
|
||||||
environment:
|
environment:
|
||||||
# See https://xdebug.org/docs/all_settings#mode
|
# See https://xdebug.org/docs/all_settings#mode
|
||||||
|
@ -7,8 +7,6 @@ if [ "${1#-}" != "$1" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$1" = 'php-fpm' ] || [ "$1" = 'php' ] || [ "$1" = 'bin/console' ]; then
|
if [ "$1" = 'php-fpm' ] || [ "$1" = 'php' ] || [ "$1" = 'bin/console' ]; then
|
||||||
mkdir -p var/cache var/log
|
|
||||||
|
|
||||||
# Install the project the first time PHP is started
|
# Install the project the first time PHP is started
|
||||||
# After the installation, the following block can be deleted
|
# After the installation, the following block can be deleted
|
||||||
if [ ! -f composer.json ]; then
|
if [ ! -f composer.json ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user