Skip to content

Instantly share code, notes, and snippets.

View danakishi's full-sized avatar

Aleksey Gurev danakishi

View GitHub Profile
@danakishi
danakishi / migrate_dump.sh
Last active December 3, 2019 05:52
Database config Kong Gateway v1.0 migrate to YAML config Kong Gateway v1.3
#!/bin/bash
message() {
echo -e "\033[1;39m$1\033[0m"
}
# Constants
DB_DUMP_FILENAME="maindb.dump"
DOCKER_NETWORK="kong-net"
DB_CONTAINER_NAME="kong-database"