Skip to content

Configuring VMSS

Mario Borna Mjertan edited this page Aug 21, 2019 · 2 revisions

VMSS is configured in the .config.json file in the root directory.

We've provided a sample in the git repository, but all the options are detailed here.

database

database/type

A PDO identifier of the database you're using.

database/host

The host to which PDO should connect

database/user

The user PDO should use while authenticating

database/password

The user PDO should use while authenticating (leave empty if it's not set)

database/database

The database VMSS should use

database/charset

The charset of the database

env

The environment VMSS is running in. This can be either dev or prod: using dev shows more error/debug data to the clients.

hash

The (int) value of the hashing algorithm to be used with password_hash (for instance, if you need to use PASSWORD_BCRYPT, you can get this with echo (int)PASSWORD_BCRYPT;

autoExpireNoncesAfter

Should nonces autoexpire? -1 if not, the number of seconds of validity if yes. (This isn't being currently used by VMSS, but will be in the future)

urlbase

The URL to the root of your VMSS installation (without a trailing slash)

queueKey

The key that must be used for queue manipulation.

allowedTypes

The extensions you allow to be uploaded, as an array, without a leading dot.

convertActions

What actions should VMSS add to the queue when a video is uploaded? Currently, all the supported actions are listed in sample.config.json.

Want to help out in VMSS development? We'd be glad to have you on board.

If you need onboarding or have any questions, feel free to email us (me) at [email protected]

Clone this wiki locally