Goal
Install the Flame dashboard on my home-server, and config it to my liking.
Docker
This is like setting up virtual envs for python? Docker has containers that I can run apps on top, which contains all the requisites, dependencies and all those stuff in one singular package, so when sharing, everything gets shared.
sudo apt updateUpdating the terminal first. Uninstall all the previous versions of docker.
sudo apt remove docker docker-engine docker.io containerd runcInstall docker.io.
sudo apt install docker.io docker-compose-v2Check the version of Docker installed.
docker --version
docker compose versionCreate a docker user and add it to the group.
sudo usermod -aG docker $USER
newgrp dockerFlame in Docker!
mkdir -p ~/docker/flame
cd ~/docker/flameCreate a docker compose file.
nano compose.ymlwith this content inside.
services:
flame:
image: pawelmalak/flame
container_name: flame
volumes:
- ./data:/app/data
ports:
- 5005:5005
restart: unless-stoppedFlame first flight!
Boot flame.
docker compose up -dThis will take time, as this will pull the flame dependencies and files from some serve(?).
Try this to see if everything went smoothly.
docker psYour Flame dashboard is on! Go to
http://<your_ip>:5005/and go to settings, then change your password. The default password is
flame_passwordVoila! Installed docker and Flame! Now add the applications and enjoy the dashboard.
Useful commands
Power down Flame.
docker compose downStart it again:
docker compose up -dView logs:
docker compose logs -fUpdate flame:
docker compose pull
docker compose up -dDone!