fix: updates local deploy compose
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
FROM dunglas/frankenphp
|
||||
|
||||
ENV FRANKENPHP_CONFIG="worker /app/public/index.php"
|
||||
ENV FRANKENPHP_CONFIG="worker /app/public/index.php 20"
|
||||
ENV SERVER_NAME=":80"
|
||||
ENV CADDY_GLOBAL_OPTIONS="auto_https off"
|
||||
ENV APP_RUNTIME="Runtime\\FrankenPhpSymfony\\Runtime"
|
||||
@@ -13,5 +13,10 @@ RUN install-php-extensions \
|
||||
opcache
|
||||
|
||||
COPY . /app
|
||||
COPY --chmod=775 ./bash/entrypoint.sh /usr/local/bin/docker-entrypoint
|
||||
|
||||
ENTRYPOINT [ "/usr/local/bin/docker-entrypoint" ]
|
||||
|
||||
CMD [ "frankenphp", "run", "--config", "/etc/caddy/Caddyfile" ]
|
||||
|
||||
HEALTHCHECK --interval=3s --timeout=3s --retries=10 CMD [ "php", "/app/bin/console", "startup:status" ]
|
||||
|
||||
Reference in New Issue
Block a user