Skip to content

Commit

Permalink
Add debug flag passing for rr
Browse files Browse the repository at this point in the history
  • Loading branch information
wapmorgan committed Aug 6, 2023
1 parent abe1d72 commit 77100e3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .rr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ server:
http:
address: 0.0.0.0:8080
pool:
debug: ${DEBUG}
num_workers: ${NUM_WORKERS}

rpc:
Expand Down
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ COPY --from=roadrunner /usr/bin/rr /usr/local/bin/rr
RUN docker-php-ext-install -j$(nproc) sockets && apt update && apt install unzip
WORKDIR /app
COPY . /app
RUN composer install --prefer-dist --optimize-autoloader && composer require --prefer-dist --optimize-autoloader spiral/roadrunner-http nyholm/psr7
RUN composer install --prefer-dist --optimize-autoloader && composer require --prefer-dist --optimize-autoloader spiral/roadrunner-http nyholm/psr7 nikic/fast-route
ENTRYPOINT rr --WorkDir /app --debug serve
EXPOSE 8080
ENV NUM_WORKERS 4
ENV DEBUG false

0 comments on commit 77100e3

Please sign in to comment.