1
0
Fork 0
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:
ericgaspar 2021-11-19 12:01:37 +01:00
parent 1f7257678f
commit 5320ccb60d
No known key found for this signature in database
GPG key ID: 574F281483054D44
3 changed files with 13 additions and 0 deletions

View file

@ -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

View file

@ -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

View file

@ -39,10 +39,18 @@
"example": "/rocketchat",
"default": "/rocketchat"
},
{
"name": "admin",
"type": "user"
},
{
"name": "is_public",
"type": "boolean",
"default": true
},
{
"name": "password",
"type": "password",
}
]
}