lasthourcloud/bootstrap/helpers/constants.php

39 lines
861 B
PHP
Raw Normal View History

<?php
const REDACTED = '<REDACTED>';
2023-10-24 12:31:28 +00:00
const DATABASE_TYPES = ['postgresql', 'redis', 'mongodb', 'mysql', 'mariadb'];
const VALID_CRON_STRINGS = [
'every_minute' => '* * * * *',
'hourly' => '0 * * * *',
'daily' => '0 0 * * *',
'weekly' => '0 0 * * 0',
'monthly' => '0 0 1 * *',
'yearly' => '0 0 1 1 *',
];
2023-08-21 16:00:12 +00:00
const RESTART_MODE = 'unless-stopped';
2023-09-20 13:42:41 +00:00
const DATABASE_DOCKER_IMAGES = [
'mysql',
'mariadb',
'postgres',
'mongo',
'redis',
'memcached',
'couchdb',
'neo4j',
'influxdb',
'clickhouse/clickhouse-server'
2023-09-20 13:42:41 +00:00
];
const SPECIFIC_SERVICES = [
'quay.io/minio/minio',
];
// Based on /etc/os-release
const SUPPORTED_OS = [
'ubuntu debian raspbian',
'centos fedora rhel ol rocky',
'sles opensuse-leap opensuse-tumbleweed'
];
const SHARED_VARIABLE_TYPES = ['team', 'project', 'environment'];