diff --git a/configs/template.config.json b/configs/template.config.json new file mode 100644 index 0000000..9142f8d --- /dev/null +++ b/configs/template.config.json @@ -0,0 +1,20 @@ +{ + "listenPort": 8083, + "sessionCookieName": "PAASUserManagerTicket", + "sessionCookie": { + "path": "/", + "httpOnly": true, + "secure": false, + "maxAge": 7200 + }, + "pve": { + "url": "https:///api2/json", + "token": { + "user": "proxmoxaas-api", + "realm": "pam", + "id": "token", + "uuid": "" + }, + "paas-client-role": "" + } +} \ No newline at end of file diff --git a/init/proxmoxaas-user-manager-api.service b/init/proxmoxaas-user-manager-api.service new file mode 100644 index 0000000..d60719a --- /dev/null +++ b/init/proxmoxaas-user-manager-api.service @@ -0,0 +1,11 @@ +[Unit] +Description=proxmoxaas-user-manager-api +After=network.target +[Service] +WorkingDirectory=/ +ExecStart=//proxmoxaas-fabric +Restart=always +RestartSec=10 +Type=simple +[Install] +WantedBy=default.target \ No newline at end of file