How to Install Traggo on Fedora CoreOS

Traggo is a self-hosted personal finance manager that allows you to manage your finances in one place. In this tutorial, we will be installing Traggo on Fedora CoreOS latest version.

Prerequisites

Before you begin, you will need the following:

Step 1: Install Docker

Traggo runs on Docker, so we need to install Docker on Fedora CoreOS:

  1. Open the terminal on your Fedora CoreOS instance.
  2. Run the following command to install Docker:
    $ sudo rpm-ostree install docker
    
  3. Once the installation is complete, check the status of Docker using the following command:
    $ sudo systemctl status docker
    

Step 2: Create a Docker Compose file for Traggo

We will now create a Docker Compose file for Traggo. This file will describe how to run Traggo in Docker.

  1. Open a new file using nano, vim or a preferred text editor:
    $ sudo vim docker-compose.yml
    
  2. Copy and paste the following into the file:
    version: '3.3'
    services:
      db:
        image: postgres:12-alpine
        restart: always
        environment:
          POSTGRES_USER: traggo
          POSTGRES_PASSWORD: changeme
          POSTGRES_DB: traggo
      app:
        image: traggo:latest
        restart: always
        ports:
          - "8080:8080"
        depends_on:
          - db
        environment:
          DB_URL: jdbc:postgresql://db/traggo
          DB_USERNAME: traggo
          DB_PASSWORD: changeme
    
  3. Save and close the file.

Step 3: Build the Traggo Docker Image

Next, we will build a Docker image for Traggo.

  1. Download the latest version of the Traggo source code from Github:
    $ git clone https://github.com/traggo/traggo.git
    
  2. Move into the traggo directory:
    $ cd traggo
    
  3. Build the Docker image:
    $ sudo docker build -t traggo:latest .
    

Step 4: Start Traggo

Finally, we will start Traggo:

  1. Start the Docker container:
    $ sudo docker-compose up -d
    
    This command will start the database and Traggo app containers in the background.
  2. Check the status of the containers:
    $ sudo docker-compose ps
    
    You should see that the containers have been started and are running.

That's it! You have successfully installed Traggo on Fedora CoreOS latest version. You can now access Traggo by navigating to http://:8080.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!

Alternatively, for the best virtual desktop, try Shells!