-
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: add support for nats jetstream as event store
- Loading branch information
Showing
13 changed files
with
547 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,24 @@ | ||
FROM gitpod/workspace-mongodb | ||
|
||
ARG NATS_VERSION="v2.8.3" | ||
ARG KAFKA_VERSION="3.2.0" | ||
ARG NATS_CLI_VERSION="0.0.33" | ||
|
||
COPY .gitpod/load.nginx.conf /etc/nginx/nginx.conf | ||
|
||
RUN sudo apt-get update && sudo apt-get install redis-server -y | ||
|
||
RUN wget https://downloads.apache.org/kafka/3.0.0/kafka_2.13-3.0.0.tgz && \ | ||
tar xzf kafka_2.13-3.0.0.tgz && \ | ||
sudo mv kafka_2.13-3.0.0 /kafka && \ | ||
rm kafka_2.13-3.0.0.tgz | ||
RUN wget https://downloads.apache.org/kafka/${KAFKA_VERSION}/kafka_2.13-${KAFKA_VERSION}.tgz && \ | ||
tar xzf kafka_2.13-${KAFKA_VERSION}.tgz && \ | ||
sudo mv kafka_2.13-${KAFKA_VERSION} /kafka && \ | ||
rm kafka_2.13-${KAFKA_VERSION}.tgz | ||
|
||
RUN curl -L https://github.com/nats-io/nats-server/releases/download/${NATS_VERSION}/nats-server-${NATS_VERSION}-linux-amd64.zip -o nats-server.zip && \ | ||
unzip nats-server.zip -d nats-server && \ | ||
sudo cp nats-server/nats-server-${NATS_VERSION}-linux-amd64/nats-server /usr/bin && \ | ||
rm -rf nats-server.zip nats-server | ||
|
||
RUN curl -L https://github.com/nats-io/natscli/releases/download/v${NATS_CLI_VERSION}/nats-${NATS_CLI_VERSION}-linux-amd64.zip -o nats-cli.zip && \ | ||
unzip nats-cli.zip -d nats-cli && \ | ||
sudo cp nats-cli/nats-${NATS_CLI_VERSION}-linux-amd64/nats /usr/bin && \ | ||
rm -rf nats-cli.zip nats-cli |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.