NAME

App::Yath::Options::WebServer - FIXME

DESCRIPTION

PROVIDED OPTIONS

Database Options

--db-config ARG
--db-config=ARG
--no-db-config

Module that implements 'MODULE->yath_db_config(%params)' which should return a App::Yath::Schema::Config instance.

Can also be set with the following environment variables: YATH_DB_CONFIG

--db-driver Pg
--db-driver MySQL
--db-driver SQLite
--db-driver MariaDB
--db-driver Percona
--db-driver PostgreSQL
--no-db-driver

DBI Driver to use

Can also be set with the following environment variables: YATH_DB_DRIVER

--db-dsn ARG
--db-dsn=ARG
--no-db-dsn

DSN to use when connecting to the db

Can also be set with the following environment variables: YATH_DB_DSN

--db-host ARG
--db-host=ARG
--no-db-host

hostname to use when connecting to the db

Can also be set with the following environment variables: YATH_DB_HOST

--db-name ARG
--db-name=ARG
--no-db-name

Name of the database to use

Can also be set with the following environment variables: YATH_DB_NAME

--db-pass ARG
--db-pass=ARG
--no-db-pass

Password to use when connecting to the db

Can also be set with the following environment variables: YATH_DB_PASS

--db-port ARG
--db-port=ARG
--no-db-port

port to use when connecting to the db

Can also be set with the following environment variables: YATH_DB_PORT

--db-socket ARG
--db-socket=ARG
--no-db-socket

socket to use when connecting to the db

Can also be set with the following environment variables: YATH_DB_SOCKET

--db-user ARG
--db-user=ARG
--no-db-user

Username to use when connecting to the db

Can also be set with the following environment variables: YATH_DB_USER, USER

Web Server Options

--host ARG
--host=ARG
--no-host

Host/Address to bind to, default 'localhost'.

--importers ARG
--importers=ARG
--no-importers

Number of log importer processes.

--launcher ARG
--launcher=ARG
--no-launcher

Command to use to launch the server (--server argument to Plack::Runner)

Note: You can pass custom args to the launcher after a '::' like `yath server [ARGS] [LOG FILES(s)] :: [LAUNCHER ARGS]`

--launcher-args "--reload"
--launcher-args="--reload"
--no-launcher-args

Set additional options for the loader.

Note: It is better to put loader arguments after '::' at the end of the command line.

Note: Can be specified multiple times

--port ARG
--port=ARG
--no-port

Port to listen on.

Note: This is passed to the launcher via `launcher --port PORT`

--port-command ARG
--port-command=ARG
--no-port-command

Command to run that returns a port number.

--workers ARG
--workers=ARG
--no-workers

Number of workers. Defaults to the number of cores, or 5 if System::Info is not installed.

Note: This is passed to the launcher via `launcher --workers WORKERS`

SOURCE

The source code repository for Test2-Harness can be found at http://github.com/Test-More/Test2-Harness/.

MAINTAINERS

Chad Granum <exodist@cpan.org>

AUTHORS

Chad Granum <exodist@cpan.org>

COPYRIGHT

Copyright Chad Granum <exodist7@gmail.com>.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://dev.perl.org/licenses/