update bitnami to bitnamilegacy
This commit is contained in:
parent
b4f2d8caf1
commit
fb7af48b10
4 changed files with 44 additions and 2 deletions
|
|
@ -21,13 +21,23 @@
|
||||||
'bitnami/mariadb',
|
'bitnami/mariadb',
|
||||||
'bitnami/mongodb',
|
'bitnami/mongodb',
|
||||||
'bitnami/redis',
|
'bitnami/redis',
|
||||||
|
'bitnamilegacy/mariadb',
|
||||||
|
'bitnamilegacy/mongodb',
|
||||||
|
'bitnamilegacy/redis',
|
||||||
|
'bitnamisecure/mariadb',
|
||||||
|
'bitnamisecure/mongodb',
|
||||||
|
'bitnamisecure/redis',
|
||||||
'mysql',
|
'mysql',
|
||||||
'bitnami/mysql',
|
'bitnami/mysql',
|
||||||
|
'bitnamilegacy/mysql',
|
||||||
|
'bitnamisecure/mysql',
|
||||||
'mysql/mysql-server',
|
'mysql/mysql-server',
|
||||||
'mariadb',
|
'mariadb',
|
||||||
'postgis/postgis',
|
'postgis/postgis',
|
||||||
'postgres',
|
'postgres',
|
||||||
'bitnami/postgresql',
|
'bitnami/postgresql',
|
||||||
|
'bitnamilegacy/postgresql',
|
||||||
|
'bitnamisecure/postgresql',
|
||||||
'supabase/postgres',
|
'supabase/postgres',
|
||||||
'elestio/postgres',
|
'elestio/postgres',
|
||||||
'mongo',
|
'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
|
- mariadb-data:/var/lib/mysql
|
||||||
|
|
||||||
moodle:
|
moodle:
|
||||||
image: docker.io/bitnami/moodle:4.3
|
image: docker.io/bitnamilegacy/moodle:4.3
|
||||||
environment:
|
environment:
|
||||||
- SERVICE_URL_MOODLE_8080
|
- SERVICE_URL_MOODLE_8080
|
||||||
- MOODLE_DATABASE_HOST=mariadb
|
- MOODLE_DATABASE_HOST=mariadb
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,7 @@ services:
|
||||||
retries: 15
|
retries: 15
|
||||||
|
|
||||||
mongodb:
|
mongodb:
|
||||||
image: docker.io/bitnami/mongodb:5.0
|
image: docker.io/bitnamilegacy/mongodb:5.0
|
||||||
volumes:
|
volumes:
|
||||||
- mongodb_data:/bitnami/mongodb
|
- mongodb_data:/bitnami/mongodb
|
||||||
environment:
|
environment:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue