Fix for #96
This commit is contained in:
parent
6a6f1750b1
commit
1625932e52
2 changed files with 8 additions and 3 deletions
|
@ -95,7 +95,12 @@ exports.getApps = asyncWrapper(async (req, res, next) => {
|
|||
for (let i = 0; i < labels['flame.name'].split(';').length; i++) {
|
||||
const names = labels['flame.name'].split(';');
|
||||
const urls = labels['flame.url'].split(';');
|
||||
const icons = labels['flame.icon'].split(';');
|
||||
let icons = '';
|
||||
|
||||
if ('flame.icon' in labels) {
|
||||
icons = labels['flame.icon'].split(';');
|
||||
}
|
||||
|
||||
dockerApps.push({
|
||||
name: names[i] || names[0],
|
||||
url: urls[i] || urls[0],
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
version: "3"
|
||||
version: '3'
|
||||
services:
|
||||
flame:
|
||||
image: pawelmalak/flame
|
||||
|
@ -7,4 +7,4 @@ services:
|
|||
- /path/to/data:/app/data
|
||||
ports:
|
||||
- 5005:5005
|
||||
restart: unless-stopped
|
||||
restart: unless-stopped
|
||||
|
|
Loading…
Reference in a new issue