Installing Countly Community Edition on Fedora CoreOS

In this tutorial, we will walk you through the process of installing Countly Community Edition on Fedora CoreOS.

Prerequisites

  • A machine running Fedora CoreOS latest.
  • A non-root user with sudo privileges.
  • A running MongoDB version 3.6 or later.
  • Docker and Docker Compose installed on your system.

Step 1: Install Docker and Docker Compose

Docker and Docker Compose are the main dependencies required to run Countly Community Edition. To install them, run the following commands:

sudo dnf install -y docker
sudo systemctl start docker
sudo systemctl enable docker

sudo dnf install -y docker-compose

Step 2: Install Countly Community Edition

To install Countly Community Edition on Fedora CoreOS, you can use Docker Compose to pull the necessary Docker images and start the containers.

  1. Clone the Countly Community Edition Git repository:
git clone https://github.com/Countly/countly-server.git
  1. Create a .env file in the root directory of the repository and set the necessary environment variables:
MONGODB_URI=mongodb://mongo/countly
COUNTLY_USERNAME=admin
COUNTLY_PASSWORD=password

Note: The COUNTLY_USERNAME and COUNTLY_PASSWORD values should be replaced with your desired username and password.

  1. Start Countly Community Edition by running the following command in the root directory of the repository:
docker-compose up -d

This will start the Countly server and the MongoDB database in the background, and you should be able to access the Countly Dashboard at http://<your-server-ip>:6001.

Congratulations! You have successfully installed Countly Community Edition on Fedora CoreOS.