Skip to content

Commit

Permalink
change from roudrunner to swoole
Browse files Browse the repository at this point in the history
  • Loading branch information
ad3n committed May 25, 2021
1 parent f825940 commit 0c7ad68
Show file tree
Hide file tree
Showing 16 changed files with 256 additions and 1,418 deletions.
4 changes: 0 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,3 @@ Caddyfile
/.php_cs
/.php_cs.cache
###< friendsofphp/php-cs-fixer ###

###> baldinof/roadrunner-bundle ###
/bin/rr
###< baldinof/roadrunner-bundle ###
31 changes: 0 additions & 31 deletions .rr.dev.yaml

This file was deleted.

22 changes: 0 additions & 22 deletions .rr.yaml

This file was deleted.

6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,16 @@ RUN apt autoremove -y && apt clean && apt autoclean
RUN rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/* ~/.composer

# Configuring
RUN echo "y\ny\ny\ny\ny\ny\n"| pecl install swoole
ADD docker/php/php.ini /etc/php/8.0/cli/php.ini
ADD docker/supervisor/supervisor.dev.conf /etc/supervisord.dev.conf
ADD docker/supervisor/supervisor.prod.conf /etc/supervisord.prod.conf
ADD docker/supervisor/supervisord.conf /etc/supervisord.conf

# Here we go
ADD docker/start.sh /start.sh
RUN chmod +x /start.sh

WORKDIR /semart

EXPOSE 8080
EXPOSE 9501

CMD ["/start.sh"]
Loading

0 comments on commit 0c7ad68

Please sign in to comment.