<?php
return [
    'app_name' => 'Android Cast Builder',
    'base_path' => '/app/androidcast_project/build',
    'session_name' => 'ac_crash_sess',
    'session_cookie_path' => '/app/androidcast_project',
    'db' => [
        'driver' => 'mysql',
        'sqlite_path' => __DIR__ . '/../../crash_reporter/backend/data/crashes.sqlite',
        'mysql' => [
            'host' => 'mariadb',
            'port' => 3306,
            'socket' => '/run/mysqld/mysqld.sock',
            'database' => 'androidcast_crashes',
            'username' => 'androidcast',
            'password' => 'androidcastrootowned',
            'charset' => 'utf8mb4',
        ],
    ],
    'debug' => true,
    'rbac' => [
        'default_company_slug' => 'default',
        'default_company_id' => 1,
    ],
    'build' => [
        'docker_image' => 'androidcast-ci:latest',
        'ci_version' => '00.01.00.1000',
        #'repo_root' => '/workspace',
        #'artifacts_root' => '/workspace/out/builds',
        #'ota_mount' => '/workspace/orchestration/runtime/ota-artifacts',
        #'ota_base_url' => 'http://localhost:8080',
        #'runner_script' => '/workspace/scripts/docker-build-runner.sh',
        #'pipeline_config' => '/workspace/build.config.yml',
        'default_channels' => ['stable', 'staging', 'dev', 'nightly'],
	    'repo_root' => '/var/www/localhost/htdocs/apps/app/androidcast_project/android_cast',
	    'artifacts_root' => '/var/www/localhost/htdocs/apps/app/androidcast_project/out/builds',
	    'ota_mount' => '/var/www/localhost/htdocs/apps/app/androidcast_project/ota-artifacts',
	    'ota_base_url' => 'https://apps.f0xx.org/app/androidcast_project',
	    'runner_script' => '/var/www/localhost/htdocs/apps/app/androidcast_project/android_cast/scripts/docker-build-runner.sh',
	    'pipeline_config' => '/var/www/.../android_cast/build.config.yml',
    ],
    'links' => [
        'hub' => '/app/androidcast_project/',
        'crashes' => '/app/androidcast_project/crashes/',
        'git' => '/app/androidcast_project/git/',
        'tickets' => '/app/androidcast_project/crashes/?view=tickets',
    ],
    #'session_cookie_path' => '/app/androidcast_project',  // shared login with crashes
];
