Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebHook-to-WebSocket forwarder #2

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Directories to ignore
/bin
/build
/vendor

# Files to ignore
/.env
/phpunit.xml
/phpunit.xml
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ FROM php:7.2
RUN apt-get update && \
apt-get install -y \
git \
zlib1g-dev
zlib1g-dev \
zip
WORKDIR /tls
WORKDIR /install
RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
Expand All @@ -12,4 +13,4 @@ ADD . /app
WORKDIR /app
RUN php /install/composer.phar install --no-dev --prefer-dist
EXPOSE 8080
CMD php server/server.php
CMD php server/serverWps.php
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"require": {
"php": "~7.1",
"cboden/ratchet": "0.4.3",
"react/http": "^1.8",
"textalk/websocket": "1.4.1"
},
"require-dev": {
Expand Down
Loading