mirror of
https://github.com/YunoHost-Apps/rocketchat_ynh.git
synced 2024-09-03 20:16:25 +02:00
Add admin
This commit is contained in:
parent
1f7257678f
commit
5320ccb60d
3 changed files with 13 additions and 0 deletions
|
@ -2,7 +2,9 @@
|
|||
; Manifest
|
||||
domain="domain.tld"
|
||||
path="/path"
|
||||
admin="john"
|
||||
is_public=1
|
||||
password="1Strong-Password"
|
||||
; Checks
|
||||
pkg_linter=1
|
||||
setup_sub_dir=1
|
||||
|
|
|
@ -17,6 +17,9 @@ Environment=MONGO_URL=mongodb://localhost:27017/__APP__?replicaSet=rs01
|
|||
Environment=MONGO_OPLOG_URL=mongodb://localhost:27017/local?replicaSet=rs01
|
||||
Environment=ROOT_URL=https://__DOMAIN____PATH__
|
||||
Environment=PORT=__PORT__
|
||||
Environment=ADMIN_USERNAME=ADMIN__
|
||||
Environment=ADMIN_PASS=__PASSWORD__
|
||||
Environment=ADMIN_EMAIL=__EMAIL__
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
|
@ -39,10 +39,18 @@
|
|||
"example": "/rocketchat",
|
||||
"default": "/rocketchat"
|
||||
},
|
||||
{
|
||||
"name": "admin",
|
||||
"type": "user"
|
||||
},
|
||||
{
|
||||
"name": "is_public",
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
},
|
||||
{
|
||||
"name": "password",
|
||||
"type": "password",
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue