Firebird/GettingStarted
From stonehomewiki
Revision as of 01:52, 4 May 2023 by Stonezhong (talk | contribs)
Preparation
- Assuming you are using a linux based machine. (I am using a Ubuntu 22.04)
- Assuming you can ssh to this machine with a private ssh key
- Create a docker network called "streaming"
docker network create -d bridge streaming
Step 1: checkout the example
git clone https://github.com/stonezhong/firebird.git # then enters the example home directory cd firebird/examples/getting-started/
Step 2: customize your ssh config
You need to edit app/ssh_config/config and app/ssh_config/keys/devbox
Step 3: start zookeeper and rabbitmq
docker-compose -f infra/docker-compose.yaml up -d
Step 4: build docker image for your streaming application
# Build docker image for the streaming application docker-compose -f app/docker-compose.yaml build # start the console container docker-compose -f app/docker-compose up -d