Deployment via Docker
Prerequisites
- Docker installed on your target machine. Install Docker
- Docker Compose installed on your target machine. Install Docker Compose
- A running database of your choice. See Database Configuration for supported databases.
- For Fluvio deployments: A running Fluvio cluster. See Broker Configuration for setup instructions.
Docker Compose Configuration
Create a docker-compose.yml file with the following content:
yaml
version: "3"
services:
feedback-fusion:
image: ghcr.io/onelitefeathernet/feedback-fusion:latest
container_name: feedback-fusion
ports:
- "8000:8000"
environment:
RUST_LOG: INFO
FEEDBACK_FUSION_CONFIG: /path/to/container/config
restart: unless-stopped
volumes:
- /path/to/config:/path/to/container/config
feedback-fusion-indexer:
image: ghcr.io/onelitefeathernet/feedback-fusion-indexer:latest
container_name: feedback-fusion-indexer
environment:
RUST_LOG: INFO
FEEDBACK_FUSION_CONFIG: /path/to/container/config
restart: unless-stopped
volumes:
- /path/to/indexer-config:/path/to/container/configRefer to the Server Configuration for the main server config file details and Indexer Configuration for the indexer config file details.
Afterwards start the application:
sh
docker compose up -d