Skip to content

Commit

Permalink
Merge branch 'master' into PHRAS-4042-fix-expose-webvtt-field
Browse files Browse the repository at this point in the history
  • Loading branch information
nmaillat authored May 15, 2024
2 parents b50eb61 + 9f77c2c commit 094ccc3
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 4 deletions.
7 changes: 6 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,12 @@ CMD ["php-fpm", "-F"]
# Phraseanet worker application image
#########################################################################

FROM phraseanet-fpm as phraseanet-worker
FROM alchemyfr/phraseanet-base:1.0.0 as phraseanet-worker

COPY --from=builder --chown=app /var/alchemy/Phraseanet /var/alchemy/Phraseanet
ADD ./docker/phraseanet/root /
WORKDIR /var/alchemy/Phraseanet

RUN apt-get update
RUN apt-get install -y --no-install-recommends supervisor
RUN apt-get install -y --no-install-recommends logrotate
Expand Down
5 changes: 5 additions & 0 deletions docker/phraseanet/worker/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ fi
chown -R app:app cache
echo `date +"%Y-%m-%d %H:%M:%S"` " - chown app:app on cache/ repository"

if [ -d "www/plugins/" ];then
chown -R app:app www/plugins
echo `date +"%Y-%m-%d %H:%M:%S"` " - chown app:app on plugins/ repository"
fi

# config \
# tmp \
# logs \
Expand Down
2 changes: 1 addition & 1 deletion templates/web/admin/worker-manager/index.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<ul class="nav nav-tabs" id="configurationTabs">

<li class="worker-info" role="presentation">
<a href="#worker-info" aria-controls="worker-info" role="tab" data-toggle="tab" data-url="/admin/worker-manager/info?running=1">
<a href="#worker-info" aria-controls="worker-info" role="tab" data-toggle="tab" data-url="/admin/worker-manager/info?running=1&timeFilter=P3D">
{{ 'admin::workermanager:tab:workerinfo: title' |trans }}
</a>
</li>
Expand Down
4 changes: 2 additions & 2 deletions templates/web/admin/worker-manager/worker_info.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@
<a data-value="PT3H">{{ '3h' | trans }}</a>-
<a data-value="PT12H">{{ '12h' | trans }}</a>-
<a data-value="P1D">{{ '1d' | trans }}</a>-
<a data-value="P3D">{{ '3d' | trans }}</a>-
<a data-value="P3D" class="active">{{ '3d' | trans }}</a>-
<a data-value="P7D">{{ '1w' | trans }}</a>-
<a data-value="P14D">{{ '2w' | trans }}</a>-
<a data-value="P1M">{{ '1m' | trans }}</a>-
<a data-value="" class="active">{{ 'all' | trans }}</a>
<a data-value="">{{ 'all' | trans }}</a>
</span>
<span class="real-entry-duration" style="color:#2d7979;">{{ realEntryDuration }}</span>
</div>
Expand Down

0 comments on commit 094ccc3

Please sign in to comment.