From 6e3700a748cede8904c33e1cc81aa55695fa81c9 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 12 May 2021 22:00:54 +0200 Subject: [PATCH] added examples --- .gitignore | 1 - docker/api/src/custom.yaml.example | 32 ++++++++++++++ docker/api/src/system.yaml.example | 55 ++++++++++++++++++++++++ docker/api/src_nginx/custom.yaml.example | 32 ++++++++++++++ docker/api/src_nginx/system.yaml.example | 55 ++++++++++++++++++++++++ 5 files changed, 174 insertions(+), 1 deletion(-) create mode 100644 docker/api/src/custom.yaml.example create mode 100644 docker/api/src/system.yaml.example create mode 100644 docker/api/src_nginx/custom.yaml.example create mode 100644 docker/api/src_nginx/system.yaml.example diff --git a/.gitignore b/.gitignore index ee5f71e..8761d91 100644 --- a/.gitignore +++ b/.gitignore @@ -16,5 +16,4 @@ __pycache__/ **/*.pyc __pycache__ **/__pycache__ -**/*.example diff --git a/docker/api/src/custom.yaml.example b/docker/api/src/custom.yaml.example new file mode 100644 index 0000000..4993d8b --- /dev/null +++ b/docker/api/src/custom.yaml.example @@ -0,0 +1,32 @@ +--- +background_login: /custom/img/background.png +colours: + background: "#F0F0F0" + primary: "#92AE01" + secondary: "#FFFFFF" +logo: /custom/img/logo.png +apps_external: +- href: https://agora.xtec.cat/ceipmontseny-barcelona/ + icon: fa fa-university + name: Escola Web + shortname: web +- href: https://youtube.com/ + icon: fa fa-youtube-play + name: Youtube + shortname: youtube +- href: https://www.wordreference.com/ + icon: fa fa-book + name: Diccionari + shortname: diccionari +- href: http://meet.jit.si/ + icon: fa fa-video-camera + name: Reunions Jitsi + shortname: jitsi +- href: https://www.google.es/ + icon: fa fa-search + name: Cercar + shortname: search +- href: https://www.google.es/maps/preview + icon: fa fa-map-marker + name: Maps + shortname: maps diff --git a/docker/api/src/system.yaml.example b/docker/api/src/system.yaml.example new file mode 100644 index 0000000..226fd04 --- /dev/null +++ b/docker/api/src/system.yaml.example @@ -0,0 +1,55 @@ +apps_internal: +- subdomain: nextcloud + href: / + icon: fa fa-cloud + name: Núvol + crear arxius + shortname: cloud +- subdomain: nextcloud + href: /apps/mail/setup + icon: fa fa-envelope-o + name: Correu + shortname: email +- subdomain: pad + href: / + icon: fa fa-file-text-o + name: Pads + shortname: pads +- subdomain: nextcloud + href: /apps/forms + icon: fa fa-check-square-o + name: Formularis + shortname: forms +- subdomain: nextcloud + href: /apps/polls + icon: fa fa-bar-chart + name: Enquestes + shortname: feedback +- subdomain: nextcloud + href: /apps/spreed + icon: fa fa-commenting-o + name: Xat + shortname: chat +- subdomain: nextcloud + href: /apps/calendar + icon: fa fa-calendar + name: Calendari + shortname: schedule +- subdomain: wp + href: /wp-login.php?saml_sso + icon: fa fa-rss + name: Webs + shortname: webs +- subdomain: nextcloud + href: /apps/bbb + icon: fa fa-video-camera + name: Reunions BBB + shortname: meets_bbb +- subdomain: nextcloud + href: /apps/photos + icon: fa fa-file-image-o + name: Fotos + shortname: photos +user: + account: /auth/realms/master/account + avatar: /auth/realms/master/avatar-provider + password: /auth/realms/master/password diff --git a/docker/api/src_nginx/custom.yaml.example b/docker/api/src_nginx/custom.yaml.example new file mode 100644 index 0000000..4993d8b --- /dev/null +++ b/docker/api/src_nginx/custom.yaml.example @@ -0,0 +1,32 @@ +--- +background_login: /custom/img/background.png +colours: + background: "#F0F0F0" + primary: "#92AE01" + secondary: "#FFFFFF" +logo: /custom/img/logo.png +apps_external: +- href: https://agora.xtec.cat/ceipmontseny-barcelona/ + icon: fa fa-university + name: Escola Web + shortname: web +- href: https://youtube.com/ + icon: fa fa-youtube-play + name: Youtube + shortname: youtube +- href: https://www.wordreference.com/ + icon: fa fa-book + name: Diccionari + shortname: diccionari +- href: http://meet.jit.si/ + icon: fa fa-video-camera + name: Reunions Jitsi + shortname: jitsi +- href: https://www.google.es/ + icon: fa fa-search + name: Cercar + shortname: search +- href: https://www.google.es/maps/preview + icon: fa fa-map-marker + name: Maps + shortname: maps diff --git a/docker/api/src_nginx/system.yaml.example b/docker/api/src_nginx/system.yaml.example new file mode 100644 index 0000000..226fd04 --- /dev/null +++ b/docker/api/src_nginx/system.yaml.example @@ -0,0 +1,55 @@ +apps_internal: +- subdomain: nextcloud + href: / + icon: fa fa-cloud + name: Núvol + crear arxius + shortname: cloud +- subdomain: nextcloud + href: /apps/mail/setup + icon: fa fa-envelope-o + name: Correu + shortname: email +- subdomain: pad + href: / + icon: fa fa-file-text-o + name: Pads + shortname: pads +- subdomain: nextcloud + href: /apps/forms + icon: fa fa-check-square-o + name: Formularis + shortname: forms +- subdomain: nextcloud + href: /apps/polls + icon: fa fa-bar-chart + name: Enquestes + shortname: feedback +- subdomain: nextcloud + href: /apps/spreed + icon: fa fa-commenting-o + name: Xat + shortname: chat +- subdomain: nextcloud + href: /apps/calendar + icon: fa fa-calendar + name: Calendari + shortname: schedule +- subdomain: wp + href: /wp-login.php?saml_sso + icon: fa fa-rss + name: Webs + shortname: webs +- subdomain: nextcloud + href: /apps/bbb + icon: fa fa-video-camera + name: Reunions BBB + shortname: meets_bbb +- subdomain: nextcloud + href: /apps/photos + icon: fa fa-file-image-o + name: Fotos + shortname: photos +user: + account: /auth/realms/master/account + avatar: /auth/realms/master/avatar-provider + password: /auth/realms/master/password