flame
flame copied to clipboard
[Feature Request] Ability to run a second instance of flame
My main instance of flame which makes my docker services all accessible through my primary domain name (appname.domainname.com
Normally
`# Flame labels
- flame.type=application # "app" works too
- flame.name=appname
- flame.url=https://appname.$DOMAINNAME0
- flame.icon=https://raw.githubusercontent.com/walkxcode/dashboard-icons/master/png/bitwarden.png
# - flame.icon=custom to make changes in app. ie: custom icon upload`
Second instance of flame which makes my docker services also accessible through my localdomain name (appname.localdomainname.lan)
Changed To
# Flame labels
- flame.type=application # "app" works too
- flame.name=appname
- flame.url=https://appname.$DOMAINNAME0
- flame.icon=https://raw.githubusercontent.com/walkxcode/dashboard-icons/master/png/bitwarden.png
# - flame.icon=custom to make changes in app. ie: custom icon upload`
# Flame Labels for second instance
- flame.name1=appname
- flame.url1=https://appname.$LOCALDOMAINNAME0
I have managed to do this in my folk by editing the file flame/controllers/apps/docker/useDocker.js
here I have change all occurrences of flame.name and flame.url to flame.name1 and flame.url1
built the docker contain and it work as expected.
Is it possible to implement this in a more elegant way in you main branch. I want to have two separate flame dashboard with the second just to access local serves I reverse proxy through traefik2 on the internal network.
As of now there is no way flame can differentiate from labels if you have a second instance of flame running.