Compare commits
3 commits
2ef4859466
...
6f6bd4e34f
Author | SHA1 | Date | |
---|---|---|---|
6f6bd4e34f | |||
f3cd8cfc00 | |||
f1c6f3ddd7 |
16
.drone.yml
Normal file
16
.drone.yml
Normal file
|
@ -0,0 +1,16 @@
|
|||
kind: pipeline
|
||||
type: docker
|
||||
name: build-app
|
||||
|
||||
steps:
|
||||
- name: build-deps
|
||||
image: 'composer:2.3'
|
||||
environment:
|
||||
APP_ENV: dev
|
||||
commands:
|
||||
- composer install --no-progress --no-interaction --optimize-autoloader
|
||||
- bin/console about
|
||||
- 'bin/console lint:container'
|
||||
- 'bin/console lint:twig'
|
||||
- 'bin/console lint:container'
|
||||
- 'bin/console lint:yaml'
|
4
.env
4
.env
|
@ -22,10 +22,6 @@ REDIS_DSN=redis://127.0.0.1:6379/0
|
|||
SENTRY_DSN=
|
||||
###< sentry/sentry-symfony ###
|
||||
|
||||
# docker-compose
|
||||
PHP_FPM_PORT=9000
|
||||
APP_LOCAL_PATH=/var/www/magnetico-web/current
|
||||
|
||||
###> symfony/mailer ###
|
||||
MAILER_DSN=smtp://localhost
|
||||
MAILER_FROM=no-reply@magnetico-web.tld
|
||||
|
|
|
@ -13,6 +13,8 @@ services:
|
|||
- 'Symfony\Component\HttpKernel\Exception\BadRequestHttpException'
|
||||
- 'Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException'
|
||||
|
||||
# TODO: update:
|
||||
# https://docs.sentry.io/platforms/php/guides/symfony/#monolog-integration
|
||||
Sentry\Monolog\Handler:
|
||||
arguments:
|
||||
$hub: '@Sentry\State\HubInterface'
|
||||
|
|
Loading…
Reference in a new issue