-
Notifications
You must be signed in to change notification settings - Fork 0
Задание 0 #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Задание 0 #1
Changes from all commits
8867393
78cd0ed
2ec624a
a921c3e
46d4f89
5e5c07b
872d637
e10be5f
e36a488
8939dad
cb29411
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| **/*.log | ||
| **/*.md | ||
| **/*.php~ | ||
| **/._* | ||
| **/.dockerignore | ||
| **/.DS_Store | ||
| **/.git/ | ||
| **/.gitattributes | ||
| **/.gitignore | ||
| **/.gitmodules | ||
| **/docker-compose.*.yaml | ||
| **/docker-compose.*.yml | ||
| **/docker-compose.yaml | ||
| **/docker-compose.yml | ||
| **/Dockerfile | ||
| **/Thumbs.db | ||
| .editorconfig | ||
| .env.*.local | ||
| .env.local | ||
| .env.local.php | ||
| .php_cs.cache | ||
| bin/* | ||
| !bin/console | ||
| docker/db/data/ | ||
| helm/ | ||
| public/bundles/ | ||
| var/ | ||
| vendor/ |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| # In all environments, the following files are loaded if they exist, | ||
| # the latter taking precedence over the former: | ||
| # | ||
| # * .env contains default values for the environment variables needed by the app | ||
| # * .env.local uncommitted file with local overrides | ||
| # * .env.$APP_ENV committed environment-specific defaults | ||
| # * .env.$APP_ENV.local uncommitted environment-specific overrides | ||
| # | ||
| # Real environment variables win over .env files. | ||
| # | ||
| # DO NOT DEFINE PRODUCTION SECRETS IN THIS FILE NOR IN ANY OTHER COMMITTED FILES. | ||
| # | ||
| # Run "composer dump-env prod" to compile .env files for production use (requires symfony/flex >=1.2). | ||
| # https://symfony.com/doc/current/best_practices.html#use-environment-variables-for-infrastructure-configuration | ||
|
|
||
| ###> symfony/framework-bundle ### | ||
| APP_ENV=dev | ||
| APP_SECRET=3ec361dad2b548ddb47edb0b7a3bf033 | ||
| ###< symfony/framework-bundle ### | ||
|
|
||
| ###> doctrine/doctrine-bundle ### | ||
| # Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url | ||
| # IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml | ||
| # | ||
| # DATABASE_URL="sqlite:///%kernel.project_dir%/var/data.db" | ||
| # DATABASE_URL="mysql://db_user:[email protected]:3306/db_name?serverVersion=5.7" | ||
| DATABASE_URL="postgresql://symfony:[email protected]:5432/app?serverVersion=13&charset=utf8" | ||
| ###< doctrine/doctrine-bundle ### | ||
|
|
||
| #Options for generating short urls | ||
| CHARSET='0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ+-_' | ||
| KEYWORDLENGTH=5 | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| * text=auto eol=lf | ||
|
|
||
| *.conf text eol=lf | ||
| *.html text eol=lf | ||
| *.ini text eol=lf | ||
| *.js text eol=lf | ||
| *.json text eol=lf | ||
| *.md text eol=lf | ||
| *.php text eol=lf | ||
| *.sh text eol=lf | ||
| *.yaml text eol=lf | ||
| *.yml text eol=lf | ||
| bin/console text eol=lf | ||
|
|
||
| *.ico binary | ||
| *.png binary |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| github: [ dunglas ] | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Это, видимо, случайно попало в коммит |
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| name: CI | ||
|
|
||
| on: | ||
| push: | ||
| pull_request: | ||
|
|
||
| jobs: | ||
| build: | ||
| name: Docker build | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v2 | ||
| - name: Pull images | ||
| run: docker-compose pull | ||
| - name: Start services | ||
| run: docker-compose up --build -d | ||
| - name: Wait for services | ||
| run: | | ||
| while status="$(docker inspect --format="{{if .Config.Healthcheck}}{{print .State.Health.Status}}{{end}}" "$(docker-compose ps -q php)")"; do | ||
| case $status in | ||
| starting) sleep 1;; | ||
| healthy) exit 0;; | ||
| unhealthy) exit 1;; | ||
| esac | ||
| done | ||
| exit 1 | ||
| - name: Check HTTP reachability | ||
| run: curl http://localhost | ||
| - name: Check HTTPS reachability | ||
| run: curl -k https://localhost |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
|
|
||
| ###> symfony/framework-bundle ### | ||
| /.env.local | ||
| /.env.local.php | ||
| /.env.*.local | ||
| /config/secrets/prod/prod.decrypt.private.php | ||
| /public/bundles/ | ||
| /var/ | ||
| /vendor/ | ||
| ###< symfony/framework-bundle ### |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Комментарии пакетов и сгенерированный текст желательно бы убирать.