Compare commits
No commits in common. "6370dfe9a9621e7f14a3bd9b9493d43e5aca2b14" and "95fa44d3e9a7c235eda1a185310aff1b3e4d5d0b" have entirely different histories.
6370dfe9a9
...
95fa44d3e9
|
@ -5,6 +5,9 @@
|
||||||
!app/cache/.gitkeep
|
!app/cache/.gitkeep
|
||||||
!app/logs/.gitkeep
|
!app/logs/.gitkeep
|
||||||
|
|
||||||
|
# Email spool folder
|
||||||
|
/app/spool/*
|
||||||
|
|
||||||
# Cache, session files and logs (Symfony3)
|
# Cache, session files and logs (Symfony3)
|
||||||
/var/cache/*
|
/var/cache/*
|
||||||
/var/sessions/*
|
/var/sessions/*
|
||||||
|
|
9
.rr.yaml
9
.rr.yaml
|
@ -1,11 +1,12 @@
|
||||||
# https://roadrunner.dev/docs/intro-config/2.x/en
|
|
||||||
version: "2.7"
|
version: "2.7"
|
||||||
|
|
||||||
server:
|
server:
|
||||||
command: "php public/index.php"
|
command: "php public/index.php"
|
||||||
|
# If you are not using symfony 5.3+ and the new Runtime component:
|
||||||
|
# remove the previous `command` line above and uncomment the line below to use the deprecated command.
|
||||||
|
# command: "php bin/console baldinof:roadrunner:worker"
|
||||||
env:
|
env:
|
||||||
- APP_RUNTIME: Baldinof\RoadRunnerBundle\Runtime\Runtime
|
- APP_RUNTIME: Baldinof\RoadRunnerBundle\Runtime\Runtime
|
||||||
- APP_ENV: prod
|
|
||||||
|
|
||||||
http:
|
http:
|
||||||
address: 0.0.0.0:8080
|
address: 0.0.0.0:8080
|
||||||
|
@ -15,10 +16,6 @@ http:
|
||||||
static:
|
static:
|
||||||
dir: "public"
|
dir: "public"
|
||||||
forbid: [ ".php", ".htaccess" ]
|
forbid: [ ".php", ".htaccess" ]
|
||||||
pool:
|
|
||||||
max_jobs: 16
|
|
||||||
supervisor:
|
|
||||||
max_worker_memory: 256
|
|
||||||
|
|
||||||
logs:
|
logs:
|
||||||
mode: production
|
mode: production
|
||||||
|
|
|
@ -18,9 +18,9 @@ RUN apk update && \
|
||||||
docker-php-ext-install -j$(nproc) intl && \
|
docker-php-ext-install -j$(nproc) intl && \
|
||||||
docker-php-ext-install -j$(nproc) pdo_pgsql && \
|
docker-php-ext-install -j$(nproc) pdo_pgsql && \
|
||||||
docker-php-ext-install -j$(nproc) sockets && \
|
docker-php-ext-install -j$(nproc) sockets && \
|
||||||
pecl install igbinary-3.2.7 && \
|
#pecl install igbinary-3.2.7 && \
|
||||||
pecl install redis-5.3.7 && \
|
pecl install redis-5.3.7 && \
|
||||||
docker-php-ext-enable igbinary && \
|
#docker-php-ext-enable igbinary && \
|
||||||
docker-php-ext-enable intl && \
|
docker-php-ext-enable intl && \
|
||||||
docker-php-ext-enable pdo_pgsql && \
|
docker-php-ext-enable pdo_pgsql && \
|
||||||
docker-php-ext-enable redis && \
|
docker-php-ext-enable redis && \
|
||||||
|
|
|
@ -3,8 +3,7 @@ baldinof_road_runner:
|
||||||
# See https://github.com/baldinof/roadrunner-bundle#kernel-reboots
|
# See https://github.com/baldinof/roadrunner-bundle#kernel-reboots
|
||||||
kernel_reboot:
|
kernel_reboot:
|
||||||
# if you want to use a fresh container on each request, use the `always` strategy
|
# if you want to use a fresh container on each request, use the `always` strategy
|
||||||
#strategy: on_exception
|
strategy: on_exception
|
||||||
strategy: always
|
|
||||||
# Exceptions you KNOW that do not put your app in an errored state
|
# Exceptions you KNOW that do not put your app in an errored state
|
||||||
allowed_exceptions:
|
allowed_exceptions:
|
||||||
- Symfony\Component\HttpKernel\Exception\HttpExceptionInterface
|
- Symfony\Component\HttpKernel\Exception\HttpExceptionInterface
|
||||||
|
|
Loading…
Reference in a new issue