Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/alchemy-fr/phrasea into P…
Browse files Browse the repository at this point in the history
…S-745-use-logo
  • Loading branch information
aynsix committed Dec 3, 2024
2 parents a895b92 + bf36a79 commit 051e854
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions infra/docker/nginx-cache-purge/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ ARG NGINX_VERSION=1.20.1
FROM nginx:${NGINX_VERSION}-alpine AS builder

# nginx:alpine contains NGINX_VERSION environment variable, like so:
# ENV NGINX_VERSION 1.15.0
# ENV NGINX_VERSION=1.15.0

ENV PURGE_CACHE_VERSION 2.3
ENV PURGE_CACHE_VERSION=2.3

# Download sources
RUN mkdir -p /usr/src \
Expand Down
2 changes: 1 addition & 1 deletion infra/docker/report-elk/logstash/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ COPY ./config/logstash.yml /usr/share/logstash/config/logstash.yml
COPY ./files/report.sql /usr/share/logstash/files/report.sql
COPY ./pipeline/logstash.conf /usr/share/logstash/pipeline/logstash.conf

ENV ELASTICSEARCH_HOST elasticsearch-report:9200
ENV ELASTICSEARCH_HOST=elasticsearch-report:9200
2 changes: 2 additions & 0 deletions lib/php/messenger-bundle/Listener/TerminateStackListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@
use Symfony\Component\Console\ConsoleEvents;
use Symfony\Component\EventDispatcher\Attribute\AsEventListener;
use Symfony\Component\HttpKernel\KernelEvents;
use Symfony\Component\Messenger\Event\WorkerMessageHandledEvent;
use Symfony\Component\Messenger\MessageBusInterface;

#[AsEventListener(KernelEvents::TERMINATE, 'onTerminate')]
#[AsEventListener(ConsoleEvents::TERMINATE, 'onTerminate')]
#[AsEventListener(WorkerMessageHandledEvent::class, method: 'onTerminate')]
final class TerminateStackListener
{
private array $callbacks = [];
Expand Down
2 changes: 1 addition & 1 deletion report/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ RUN go build -o app . \

EXPOSE 80

CMD ./go.sh
CMD ["./go.sh"]

0 comments on commit 051e854

Please sign in to comment.