2023-08-09 17:57:27 +02:00
|
|
|
<?php
|
|
|
|
|
2023-10-24 14:31:28 +02:00
|
|
|
const DATABASE_TYPES = ['postgresql', 'redis', 'mongodb', 'mysql', 'mariadb'];
|
2023-08-09 17:57:27 +02:00
|
|
|
const VALID_CRON_STRINGS = [
|
2023-08-10 15:52:54 +02:00
|
|
|
'every_minute' => '* * * * *',
|
2023-08-09 17:57:27 +02:00
|
|
|
'hourly' => '0 * * * *',
|
|
|
|
'daily' => '0 0 * * *',
|
|
|
|
'weekly' => '0 0 * * 0',
|
|
|
|
'monthly' => '0 0 1 * *',
|
|
|
|
'yearly' => '0 0 1 1 *',
|
|
|
|
];
|
2023-08-21 18:00:12 +02:00
|
|
|
const RESTART_MODE = 'unless-stopped';
|
2023-09-20 15:42:41 +02:00
|
|
|
|
|
|
|
const DATABASE_DOCKER_IMAGES = [
|
|
|
|
'mysql',
|
|
|
|
'mariadb',
|
|
|
|
'postgres',
|
|
|
|
'mongo',
|
|
|
|
'redis',
|
|
|
|
'memcached',
|
|
|
|
'couchdb',
|
|
|
|
'neo4j',
|
|
|
|
'influxdb',
|
2023-09-25 12:49:55 +02:00
|
|
|
'clickhouse/clickhouse-server'
|
2023-09-20 15:42:41 +02:00
|
|
|
];
|
2023-11-13 11:09:21 +01:00
|
|
|
const SPECIFIC_SERVICES = [
|
|
|
|
'quay.io/minio/minio',
|
|
|
|
];
|