mirror of
https://github.com/ThomasGsp/HyperProxmox.git
synced 2025-03-09 15:40:18 +00:00
Somes changes
This commit is contained in:
parent
d7ad4d8cfd
commit
e432112724
5 changed files with 33 additions and 193 deletions
|
@ -1,8 +1,8 @@
|
|||
[system]
|
||||
; System configurations
|
||||
user: hosting
|
||||
user: hyperproxmox
|
||||
|
||||
; If not exist on start, the key is auto-generate.
|
||||
; If not exist on start, the key will be auto-generate.
|
||||
key_pvt: private/keys/Ragnarok.pvt.key
|
||||
key_pub: private/keys/Ragnarok.pub.key
|
||||
|
||||
|
@ -10,7 +10,7 @@ key_pub: private/keys/Ragnarok.pub.key
|
|||
user: www-data
|
||||
|
||||
[api]:
|
||||
user: hosting_api
|
||||
user: hyperproxmox
|
||||
|
||||
[databases]
|
||||
; Databases configurations
|
||||
|
@ -45,11 +45,11 @@ walker_lock: /tmp/hyperproxmoxwalker.lock
|
|||
|
||||
|
||||
[logger]
|
||||
; Active or not(True/False)
|
||||
; Active or not(True/False - Case !)
|
||||
debug = True
|
||||
|
||||
; debug level 1: "INFO", 2: "WARNING", 3: "ERROR", 4: "CRITICAL", 5: "DEBUG"
|
||||
debug_level = 5
|
||||
debug_level = 2
|
||||
|
||||
; log output
|
||||
logs_dir = /var/log/hyperproxmox/
|
|
@ -75,14 +75,12 @@ if __name__ == "__main__":
|
|||
'/api/v1/instance', 'Instance',
|
||||
'/api/v1/instance/new', 'Instance',
|
||||
'/api/v1/instance/([0-9]+)', 'Instance',
|
||||
'/api/v1/instance/([0-9]+)/status/([a-z]+)', 'Instance',
|
||||
'/api/v1/instance/([a-z0-9]+)/status/(start|stop|status|restart|reset|shutdown)', 'Instance',
|
||||
|
||||
'/api/v1/instance/([0-9]+)/package', 'package',
|
||||
'/api/v1/instance/([0-9]+)/vhost(?:/([0-9]+))', 'vhost',
|
||||
'/api/v1/instance/([0-9]+)/database(?:/([0-9]+))', 'database',
|
||||
|
||||
# MAPPING NODES
|
||||
'/api/v1/nodes(?:/([0-9]+))', 'node',
|
||||
|
||||
# MAPPING SERVICES
|
||||
'/api/v1/service/([a-z]+)/instance/([0-9]+)/vhost(?:/([0-9]+))', 'service',
|
||||
|
@ -90,7 +88,7 @@ if __name__ == "__main__":
|
|||
# AUTH
|
||||
'/api/v1/auth', 'Auth',
|
||||
|
||||
# MANAGEMENT
|
||||
# MANAGEMENT CLUSTER
|
||||
'/api/v1/administration/cluster/(?:[0-9a-zA-Z\_\-]+)', 'Cluster',
|
||||
'/api/v1/administration/cluster/', 'Cluster',
|
||||
'/api/v1/administration/cluster/new', 'Cluster',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue