27
.gitea/workflows/deploy.yml
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
name: Deploy on push
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
runs-on: homepage_prod
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Pull latest code
|
||||||
|
run: |
|
||||||
|
cd /opt/homepage_it
|
||||||
|
HOME=/opt/deploy git pull origin main
|
||||||
|
|
||||||
|
- name: Restart Docker compose
|
||||||
|
run: |
|
||||||
|
cd /opt/homepage_it
|
||||||
|
docker compose down
|
||||||
|
docker compose up -d
|
||||||
|
|
||||||
|
- name: Vérification
|
||||||
|
run: |
|
||||||
|
echo "Déployé le $(date)"
|
||||||
|
git -C /opt/homepage_it log -1 --oneline
|
||||||
@ -1,9 +1,9 @@
|
|||||||
---
|
---
|
||||||
- Documentation:
|
#- Documentation:
|
||||||
- Notion Infra:
|
# - Notion Infra:
|
||||||
- href: https://notion.so/esadhar
|
# - href: https://www.notion.so/25c88fef3f0a803cbd84eb397e6a5f6d?v=25c88fef3f0a8077940b000cb33b5450&source=copy_link
|
||||||
icon: notion.png
|
# icon: notion.png
|
||||||
|
|
||||||
- Wiki interne:
|
# - Wiki interne:
|
||||||
- href: https://wiki.esadhar.local
|
# - href: https://wiki.esadhar.local
|
||||||
icon: mkdocs.png
|
# icon: mkdocs.png
|
||||||
@ -1,59 +1,107 @@
|
|||||||
---
|
---
|
||||||
- Gestion utilisateurs:
|
- Gestion utilisateurs:
|
||||||
- Active Directory (RDP):
|
- Fusion Directory:
|
||||||
href: rdp://ad-server.esadhar.local
|
href: https://fusiondirectory.esadhar.fr/
|
||||||
|
description: Gestion des comptes Utilisateurs & Groupes
|
||||||
|
icon: https://fusiondirectory.esadhar.fr/fusiondirectory/favicon.ico
|
||||||
|
|
||||||
|
- srv-esadhar-01.esadhar.local (RDP):
|
||||||
|
href: rdp://srv-esadhar-01.esadhar.local
|
||||||
description: Gestion des comptes AD
|
description: Gestion des comptes AD
|
||||||
icon: windows-server.png
|
icon: /images/win-server.png
|
||||||
|
|
||||||
- CAS Admin:
|
- srv-ad03.esadhar.local (RDP):
|
||||||
href: https://cas.esadhar.fr/cas/login
|
href: rdp://srv-ad03.esadhar.local
|
||||||
description: Console d'administration CAS
|
description: Gestion des comptes AD
|
||||||
icon: sh-key.png
|
icon: /images/win-server.png
|
||||||
|
|
||||||
- OpenLDAP (phpLDAPadmin):
|
- srv-ad04.esadhar.local (RDP):
|
||||||
href: https://ldap-admin.esadhar.fr
|
href: rdp://srv-ad04.esadhar.local
|
||||||
description: Gestion de l'annuaire LDAP
|
description: Gestion des comptes AD
|
||||||
icon: openldap.png
|
icon: /images/win-server.png
|
||||||
|
|
||||||
- Gestion parc:
|
#- Gestion parc:
|
||||||
- NetBox:
|
#- NetBox:
|
||||||
href: https://netbox.esadhar.fr
|
#href: https://netbox.esadhar.fr
|
||||||
description: Documentation infra / IPAM
|
#description: Documentation infra / IPAM
|
||||||
icon: netbox.png
|
#icon: netbox.png
|
||||||
|
|
||||||
- Snipe-IT:
|
#- Snipe-IT:
|
||||||
href: https://assets.esadhar.fr
|
# href: https://assets.esadhar.fr
|
||||||
description: Inventaire matériel / licences
|
# description: Inventaire matériel / licences
|
||||||
icon: snipe-it.png
|
# icon: snipe-it.png
|
||||||
|
|
||||||
- Infrastructure:
|
- Infrastructure:
|
||||||
- Proxmox:
|
- PVE1:
|
||||||
href: https://proxmox.esadhar.local:8006
|
href: https://proxmox.esadhar.local:8006
|
||||||
description: Hyperviseurs
|
description: Hyperviseurs
|
||||||
icon: proxmox.png
|
icon: proxmox.png
|
||||||
widget:
|
|
||||||
type: proxmox
|
|
||||||
url: https://proxmox.esadhar.local:8006
|
|
||||||
username: root@pam!homepage
|
|
||||||
password: your-api-token
|
|
||||||
node: pve-node-1
|
|
||||||
|
|
||||||
- pfSense / Cisco (selon équipement):
|
- PVE2:
|
||||||
href: https://firewall.esadhar.local
|
href: https://pve2.ro.esadhar.local:8006/
|
||||||
description: Réseau et sécurité
|
description: Hyperviseurs
|
||||||
icon: cisco.png
|
icon: proxmox.png
|
||||||
|
|
||||||
|
- cloud.esadhar.fr:
|
||||||
|
href: https://cloud.esadhar.fr:5001
|
||||||
|
description: NAS Synology - LE HAVRE
|
||||||
|
icon: /images/synology-dsm.png
|
||||||
|
|
||||||
|
- nas-backup.esadhar.fr:
|
||||||
|
href: https://nas-backup.esadhar.fr:5001
|
||||||
|
description: NAS Synology - ROUEN
|
||||||
|
icon: /images/synology-dsm.png
|
||||||
|
|
||||||
|
- Stormshield LH:
|
||||||
|
href: https://172.16.4.254:17000/
|
||||||
|
description: Pare-feu - LE HAVRE
|
||||||
|
icon: /images/stormshield.png
|
||||||
|
|
||||||
|
- Stormshield RO:
|
||||||
|
href: https://192.168.1.254:17000/
|
||||||
|
description: Pare-feu - ROUEN
|
||||||
|
icon: /images/stormshield.png
|
||||||
|
|
||||||
|
- Controlleur OMADA:
|
||||||
|
href: https://192.168.110.1/
|
||||||
|
description: Controlleur équipement réseau TP-LINK - ROUEN
|
||||||
|
icon: /images/omada.png
|
||||||
|
|
||||||
|
- Impression:
|
||||||
|
- Gespage01 (GUI):
|
||||||
|
href: http://gespage01.esadhar.local:7180/admin/
|
||||||
|
description: Gestionnaire d'impression - LH
|
||||||
|
icon: /images/gespage.ico
|
||||||
|
|
||||||
|
- Gespage02 (GUI):
|
||||||
|
href: http://gespage02.esadhar.local:7180/admin/
|
||||||
|
description: Gestionnaire d'impression - RO
|
||||||
|
icon: /images/gespage.ico
|
||||||
|
|
||||||
|
- gespage01.esadhar.local (RDP):
|
||||||
|
href: rdp://gespage01.esadhar.local
|
||||||
|
description: Serveur d'impression Windows
|
||||||
|
icon: /images/win-server.png
|
||||||
|
|
||||||
|
- gespage02.esadhar.local (RDP):
|
||||||
|
href: rdp://gespage02.esadhar.local
|
||||||
|
description: Serveur d'impression Windows
|
||||||
|
icon: /images/win-server.png
|
||||||
|
|
||||||
|
- Applicatifs métiers:
|
||||||
|
- ESUP-SGC:
|
||||||
|
href: https://leocarte.esadhar.fr
|
||||||
|
description: Gestionnaire de cartes
|
||||||
|
icon: /images/java.png
|
||||||
|
|
||||||
|
- ESUP-SIGN:
|
||||||
|
href: https://sign.esadhar.fr
|
||||||
|
description: Signature éléctronique
|
||||||
|
icon: /images/java.png
|
||||||
|
|
||||||
- Dev & CI/CD:
|
- Dev & CI/CD:
|
||||||
- Gitea:
|
|
||||||
href: https://git.esadhar.fr
|
|
||||||
description: Dépôts + Gitea Actions
|
|
||||||
icon: gitea.png
|
|
||||||
widget:
|
|
||||||
type: gitea
|
|
||||||
url: https://git.esadhar.fr
|
|
||||||
key: your-gitea-api-token
|
|
||||||
|
|
||||||
- PEAR (Prod):
|
- PEAR (test):
|
||||||
href: https://pear.esadhar.fr
|
href: https://pear-test.esadhar.fr
|
||||||
description: Application Flask PEAR
|
description: Application Flask PEAR
|
||||||
icon: flask.png
|
icon: /images/python.png
|
||||||
59
config/services.yaml.example
Normal file
@ -0,0 +1,59 @@
|
|||||||
|
---
|
||||||
|
- Gestion utilisateurs:
|
||||||
|
- Active Directory (RDP):
|
||||||
|
href: rdp://ad-server.esadhar.local
|
||||||
|
description: Gestion des comptes AD
|
||||||
|
icon: windows-server.png
|
||||||
|
|
||||||
|
- CAS Admin:
|
||||||
|
href: https://cas.esadhar.fr/cas/login
|
||||||
|
description: Console d'administration CAS
|
||||||
|
icon: sh-key.png
|
||||||
|
|
||||||
|
- OpenLDAP (phpLDAPadmin):
|
||||||
|
href: https://ldap-admin.esadhar.fr
|
||||||
|
description: Gestion de l'annuaire LDAP
|
||||||
|
icon: openldap.png
|
||||||
|
|
||||||
|
- Gestion parc:
|
||||||
|
- NetBox:
|
||||||
|
href: https://netbox.esadhar.fr
|
||||||
|
description: Documentation infra / IPAM
|
||||||
|
icon: netbox.png
|
||||||
|
|
||||||
|
- Snipe-IT:
|
||||||
|
href: https://assets.esadhar.fr
|
||||||
|
description: Inventaire matériel / licences
|
||||||
|
icon: snipe-it.png
|
||||||
|
|
||||||
|
- Infrastructure:
|
||||||
|
- Proxmox:
|
||||||
|
href: https://proxmox.esadhar.local:8006
|
||||||
|
description: Hyperviseurs
|
||||||
|
icon: proxmox.png
|
||||||
|
widget:
|
||||||
|
type: proxmox
|
||||||
|
url: https://proxmox.esadhar.local:8006
|
||||||
|
username: root@pam!homepage
|
||||||
|
password: your-api-token
|
||||||
|
node: pve-node-1
|
||||||
|
|
||||||
|
- pfSense / Cisco (selon équipement):
|
||||||
|
href: https://firewall.esadhar.local
|
||||||
|
description: Réseau et sécurité
|
||||||
|
icon: cisco.png
|
||||||
|
|
||||||
|
- Dev & CI/CD:
|
||||||
|
- Gitea:
|
||||||
|
href: https://git.esadhar.fr
|
||||||
|
description: Dépôts + Gitea Actions
|
||||||
|
icon: gitea.png
|
||||||
|
widget:
|
||||||
|
type: gitea
|
||||||
|
url: https://git.esadhar.fr
|
||||||
|
key: your-gitea-api-token
|
||||||
|
|
||||||
|
- PEAR (Prod):
|
||||||
|
href: https://pear.esadhar.fr
|
||||||
|
description: Application Flask PEAR
|
||||||
|
icon: flask.png
|
||||||
@ -1,5 +1,5 @@
|
|||||||
title: Portail IT - ESADHaR
|
title: Portail IT - ésadhar
|
||||||
favicon: https://esadhar.fr/favicon.ico
|
favicon: https://esadhar.fr/wp-content/themes/mddw/res/imgs/favicon.png
|
||||||
|
|
||||||
theme: dark
|
theme: dark
|
||||||
color: slate
|
color: slate
|
||||||
@ -7,15 +7,21 @@ color: slate
|
|||||||
layout:
|
layout:
|
||||||
Gestion utilisateurs:
|
Gestion utilisateurs:
|
||||||
style: row
|
style: row
|
||||||
columns: 3
|
columns: 4
|
||||||
Gestion parc:
|
Gestion parc:
|
||||||
style: row
|
style: row
|
||||||
columns: 3
|
columns: 4
|
||||||
Infrastructure:
|
Infrastructure:
|
||||||
style: row
|
style: row
|
||||||
columns: 3
|
columns: 4
|
||||||
|
Impression:
|
||||||
|
style: row
|
||||||
|
columns: 4
|
||||||
Dev & CI/CD:
|
Dev & CI/CD:
|
||||||
style: row
|
style: row
|
||||||
columns: 3
|
columns: 4
|
||||||
|
Applicatifs métiers:
|
||||||
|
style: row
|
||||||
|
columns: 4
|
||||||
|
|
||||||
headerStyle: boxed
|
headerStyle: boxed
|
||||||
@ -3,10 +3,17 @@
|
|||||||
# https://gethomepage.dev/configs/info-widgets/
|
# https://gethomepage.dev/configs/info-widgets/
|
||||||
|
|
||||||
- resources:
|
- resources:
|
||||||
cpu: true
|
cpu: false
|
||||||
memory: true
|
memory: false
|
||||||
disk: /
|
disk: false
|
||||||
|
|
||||||
- search:
|
#- search:
|
||||||
provider: duckduckgo
|
# provider: duckduckgo
|
||||||
target: _blank
|
# target: _blank
|
||||||
|
- datetime:
|
||||||
|
text_size: xl
|
||||||
|
locale: fr
|
||||||
|
format:
|
||||||
|
dateStyle: long
|
||||||
|
timeStyle: long
|
||||||
|
hourCycle: h23
|
||||||
BIN
images/gespage.ico
Normal file
|
After Width: | Height: | Size: 100 KiB |
BIN
images/java.png
Normal file
|
After Width: | Height: | Size: 26 KiB |
BIN
images/omada.png
Normal file
|
After Width: | Height: | Size: 21 KiB |
BIN
images/python.png
Normal file
|
After Width: | Height: | Size: 35 KiB |
BIN
images/stormshield.png
Normal file
|
After Width: | Height: | Size: 7.0 KiB |
BIN
images/synology-drive.png
Normal file
|
After Width: | Height: | Size: 48 KiB |
BIN
images/synology-dsm.png
Normal file
|
After Width: | Height: | Size: 20 KiB |
BIN
images/win-server.png
Normal file
|
After Width: | Height: | Size: 516 B |