Makes dynamic configuration work in production

If a static file is mounted in the Docker image, it will be read at
each page load and sent to the client.
This commit is contained in:
2023-08-11 11:00:18 +02:00
parent 99b91a7ebb
commit 8660345bf6
7 changed files with 47 additions and 24 deletions

14
static/config.yml Normal file
View File

@@ -0,0 +1,14 @@
title: 'Hello World !!'
subtitle: 'actually, I am a new pilot.'
services:
- title: '/Cloud'
subtitle: 'Private Cloud Utilities'
icon: 'fas fa-cloud'
items:
- title: 'NAS'
subtitle: 'Network Attached Storage'
icon: 'fas fa-hard-drive'
target: '_blank'
url: '/NAS'
keywords: 'cloud storage files'