Skip to content

Commit 2dc61de

Browse files
author
deepshekhardas
committed
feat(Push): add Appwrite Push (MQTT 5) adapter
Based on PR #122 by abnegate. Adds Appwrite Push - a self-hosted MQTT 5 based push notification adapter with minimal MQTT 5 control-packet codec.
1 parent 2a8e82c commit 2dc61de

6 files changed

Lines changed: 1604 additions & 0 deletions

File tree

Dockerfile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,16 @@ FROM php:8.3.11-cli-alpine3.20
1919

2020
WORKDIR /usr/local/src/
2121

22+
RUN apk add --no-cache --virtual .build-deps \
23+
$PHPIZE_DEPS \
24+
linux-headers \
25+
openssl-dev \
26+
brotli-dev \
27+
&& pecl install swoole \
28+
&& docker-php-ext-enable swoole \
29+
&& apk del .build-deps \
30+
&& apk add --no-cache libstdc++ brotli-libs
31+
2232
COPY --from=composer /usr/local/src/vendor /usr/local/src/vendor
2333
COPY . /usr/local/src/
2434

0 commit comments

Comments
 (0)