The various options can be seen here https://github.com/flarum/core/blob/d492579638fb52dafbfe65f1f36a95eb6047f7f3/src/Install/Console/FileDataProvider.php
Seems like both json and yaml are accepted. Or you can call the install
command without parameters to get prompted for the questions.
So I think it will look like this in yaml format:
debug:
baseUrl:
databaseConfiguration:
driver:
host:
port:
database:
username:
password:
prefix:
adminUser:
username:
password:
email:
settings:
key: value
Most keys have a default values so you can skip them if the default works for you. Those are the default values:
debug: false
baseUrl: http://flarum.local
databaseConfiguration:
driver: mysql
host: localhost
port: 3306
database: flarum
username: root
password:
prefix:
adminUser:
username: admin
password: password
email: admin@example.com
settings: