Merge pull request #6764 from djsisson/bitnami
update bitnami to bitnamilegacy
This commit is contained in:
commit
141199b41f
4 changed files with 44 additions and 2 deletions
|
|
@ -21,13 +21,23 @@
|
|||
'bitnami/mariadb',
|
||||
'bitnami/mongodb',
|
||||
'bitnami/redis',
|
||||
'bitnamilegacy/mariadb',
|
||||
'bitnamilegacy/mongodb',
|
||||
'bitnamilegacy/redis',
|
||||
'bitnamisecure/mariadb',
|
||||
'bitnamisecure/mongodb',
|
||||
'bitnamisecure/redis',
|
||||
'mysql',
|
||||
'bitnami/mysql',
|
||||
'bitnamilegacy/mysql',
|
||||
'bitnamisecure/mysql',
|
||||
'mysql/mysql-server',
|
||||
'mariadb',
|
||||
'postgis/postgis',
|
||||
'postgres',
|
||||
'bitnami/postgresql',
|
||||
'bitnamilegacy/postgresql',
|
||||
'bitnamisecure/postgresql',
|
||||
'supabase/postgres',
|
||||
'elestio/postgres',
|
||||
'mongo',
|
||||
|
|
|
|||
|
|
@ -0,0 +1,32 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
public function up()
|
||||
{
|
||||
// Change the default value for the 'image' column
|
||||
Schema::table('standalone_clickhouses', function (Blueprint $table) {
|
||||
$table->string('image')->default('bitnamilegacy/clickhouse')->change();
|
||||
});
|
||||
// Optionally, update any existing rows with the old default to the new one
|
||||
DB::table('standalone_clickhouses')
|
||||
->where('image', 'bitnami/clickhouse')
|
||||
->update(['image' => 'bitnamilegacy/clickhouse']);
|
||||
}
|
||||
|
||||
public function down()
|
||||
{
|
||||
Schema::table('standalone_clickhouses', function (Blueprint $table) {
|
||||
$table->string('image')->default('bitnami/clickhouse')->change();
|
||||
});
|
||||
// Optionally, revert any changed values
|
||||
DB::table('standalone_clickhouses')
|
||||
->where('image', 'bitnamilegacy/clickhouse')
|
||||
->update(['image' => 'bitnami/clickhouse']);
|
||||
}
|
||||
};
|
||||
|
|
@ -20,7 +20,7 @@ services:
|
|||
- mariadb-data:/var/lib/mysql
|
||||
|
||||
moodle:
|
||||
image: docker.io/bitnami/moodle:4.3
|
||||
image: docker.io/bitnamilegacy/moodle:4.3
|
||||
environment:
|
||||
- SERVICE_URL_MOODLE_8080
|
||||
- MOODLE_DATABASE_HOST=mariadb
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ services:
|
|||
retries: 15
|
||||
|
||||
mongodb:
|
||||
image: docker.io/bitnami/mongodb:5.0
|
||||
image: docker.io/bitnamilegacy/mongodb:5.0
|
||||
volumes:
|
||||
- mongodb_data:/bitnami/mongodb
|
||||
environment:
|
||||
|
|
|
|||
Loading…
Reference in a new issue