Comments (7)
I suggest that you leave it open, so that other devs maybe can help if they see it and it's something they know how to do.
Mark it with help wanted
for instance and maybe add it to a milestone if it's a feature you like. :)
from flame.
I'm in a search for such feature, but I guess the popular dashboards options also don't have it. Currently I'm investigating what would be the best option, and I guess Flame seems to be a good candidate (API already there).
And instead of trying to consume docker api (like Portainer and Traefik does), I was even thinking about consuming Traefik api (rawdata) -- that way it would be possible to generate apps even for non-docker things, and the whole "url/pathprefix" problem would be already solved.
So the problem is divided in different parts, and a final solution could be a mix of any:
Data acquisition:
- Read docker socket for special labels
- Consume Traefik api
Feature placement:
- Simple script to be called/croned
- Independent simple app (with timed checks, listener on socket, webapi to be hooked)
- Feature in Dashboard code
Target Dashboard:
- Flame (rest api)
- Homer (static file generation)
- Heimdall (no idea)
- Organizr (no idea)
I've been using Organizr for a few years already, but the other dashboards I installed just recently.
from flame.
Hi. As I said before this is my first time using Docker in any project so I don't know if it would be possible to implement. Do you know any other project that implements that kind of functionality so I could take a closer look at it?
Right now, flame exposes RESTful API for apps, categories and bookmarks if that's what you mean.
from flame.
Traefik maybe? I think you need to expose the docker.socket, but I'm no developer, so not sure.
from flame.
Sorry, but for now implementation of this feature is out of my skill and knowlage range.
from flame.
Would it be possible with some sort of API, that you can add labels to your docker-compose files and automatically populate Flames dashboard?
I'm not sure how much Flame would be able to automatically populate with just labels and nothing else exposed/consumable.
If you were to label a container as being flammable, Flame would then need some way of determining the type, category, name, url, and icon for it. Many of those would be awfully hard (if not impossible) to divine on their own, so you'd also need to use labels to define the values.
eg:
labels:
- flame.type=application
- flame.category=downloads
- flame.name=Downloader 3000
- flame.url=http://localhost:3000
- flame.icon=icon-name
And at that point, you're pretty much just making a distributed configuration file for Flame.
from flame.
Dunno. Maybe you need to connect to the docker socket?
The point is to get Flame dynamicly show the active services, so being able to set them that way would be awesome.
from flame.
Related Issues (20)
- bookmark grid
- Possibility to use local icons HOT 2
- Other forms of auth possible?
- [FEATURE REQUEST] NixOS package / `services.flame` options
- Lost all settings after a server restart
- [FEATURE REQUEST] ChatGPT Search Box
- [FEATURE REQUEST] Tooltips for Applications and Bookmarks
- [Suggestion] Install on low resources virtual machine / LXC container
- [FEATURE REQUEST] Support Multi Instanced Server Configuration
- [BUG] Numerals in prefix break Custom Search
- [FEATURE REQUEST] Inactive containers in transparency
- [Feature Request] Note field
- [BUG] Bookmarks don't save
- [FEATURE REQUEST] Add support for Kubernetes Gateway API (such as HTTPRoute)
- When filling out application if unexpected input occurs then it starts crashing the entire docker container even on restart
- class names
- [BUG] Support for more Kubernetes ingress annotations
- question: how to hide "settings" in shared environment
- Question: Focus on browser address bar when Flame set to default homepage
- Greeting is not reflecting properly HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flame.