mob next [ci-skip] [ci skip] [skip ci]
lastFile:tests/tests/think-gtcm.nix
This commit is contained in:
@@ -10,24 +10,27 @@
|
||||
services.think-greaterchiangmai = {
|
||||
enable = true;
|
||||
settings = {
|
||||
|
||||
APP_NAME = "Laravel";
|
||||
APP_ENV = "local";
|
||||
APP_KEY = "";
|
||||
APP_DEBUG = "true";
|
||||
APP_URL = "http://localhost";
|
||||
|
||||
LOG_CHANNEL = "stack";
|
||||
LOG_DEPRECATIONS_CHANNEL = "null";
|
||||
LOG_LEVEL = "debug";
|
||||
APP_SERVICES_CACHE = "/run/think-gtcm/cache/services.php";
|
||||
APP_PACKAGES_CACHE = "/run/think-gtcm/cache/packages.php";
|
||||
APP_CONFIG_CACHE = "/run/think-gtcm/cache/config.php";
|
||||
APP_ROUTES_CACHE = "/run/think-gtcm/cache/routes-v7.php";
|
||||
APP_EVENTS_CACHE = "/run/think-gtcm/cache/events.php";
|
||||
|
||||
DB_CONNECTION = "mysql";
|
||||
DB_HOST = "localhost";
|
||||
DB_PORT = 3306;
|
||||
DB_DATABASE = "thinkgtcm";
|
||||
DB_USERNAME = "thinkgtcm";
|
||||
DB_USERNAME = "gtcm";
|
||||
DB_PASSWORD = "";
|
||||
|
||||
APP_NAME = "Laravel";
|
||||
APP_ENV = "local";
|
||||
APP_DEBUG = "false";
|
||||
APP_URL = "http://localhost";
|
||||
|
||||
LOG_CHANNEL = "stack";
|
||||
LOG_LEVEL = "debug";
|
||||
|
||||
BROADCAST_DRIVER = "log";
|
||||
CACHE_DRIVER = "file";
|
||||
FILESYSTEM_DISK = "local";
|
||||
@@ -41,19 +44,26 @@
|
||||
REDIS_PASSWORD = "null";
|
||||
REDIS_PORT = "6379";
|
||||
|
||||
AWS_ACCESS_KEY_ID = "";
|
||||
AWS_SECRET_ACCESS_KEY = "";
|
||||
MAIL_MAILER = "smtp";
|
||||
MAIL_HOST = "mailpit";
|
||||
MAIL_PORT = "1025";
|
||||
MAIL_USERNAME = "null";
|
||||
MAIL_PASSWORD = "null";
|
||||
MAIL_ENCRYPTION = "null";
|
||||
MAIL_FROM_ADDRESS = "hello@example.com";
|
||||
|
||||
AWS_DEFAULT_REGION = "us-east-1";
|
||||
AWS_BUCKET = "";
|
||||
AWS_USE_PATH_STYLE_ENDPOINT = "false";
|
||||
|
||||
PUSHER_APP_ID = "";
|
||||
PUSHER_APP_KEY = "";
|
||||
PUSHER_APP_SECRET = "";
|
||||
PUSHER_HOST = "";
|
||||
PUSHER_PORT = 443;
|
||||
PUSHER_SCHEME = "https";
|
||||
PUSHER_APP_CLUSTER = "mt1";
|
||||
|
||||
UPLOAD_MAX_FILESIZE = "5000M";
|
||||
POST_MAX_SIZE = "5000M";
|
||||
|
||||
TEST_LOCAL = "false";
|
||||
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -62,7 +72,7 @@
|
||||
testScript = ''
|
||||
start_all()
|
||||
|
||||
node1.wait_for_unit("phpfpm-think-greaterchiangmai")
|
||||
node1.wait_for_unit("phpfpm-think-gtcm")
|
||||
node1.wait_for_open_port(80)
|
||||
output = node1.succeed("curl localhost")
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user