Created
May 28, 2026 05:59
-
-
Save ronaldbradford/04249ccd275be630d4e10c5adda35ee3 to your computer and use it in GitHub Desktop.
Dbdeployer PostgreSQL demo via Orb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #cloud-config | |
| # Debian/Ubuntu demo VM for dbdeployer + PostgreSQL + ProxySQL | |
| packages: | |
| - libncurses6 | |
| - libaio-dev | |
| - libnuma1 | |
| - liburing2 | |
| - libdigest-sha-perl | |
| - postgresql-common | |
| - libpq5 | |
| - wget | |
| - tree | |
| runcmd: | |
| - /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh -y | |
| - "apt-cache search postgresql | grep -E '^postgresql-[0-9]+ ' | sort" | |
| - wget -nv -O /etc/apt/trusted.gpg.d/proxysql-3.0.x-keyring.gpg https://repo.proxysql.com/ProxySQL/proxysql-3.0.x/repo_pub_key.gpg | |
| - "echo deb https://repo.proxysql.com/ProxySQL/proxysql-3.0.x/$(lsb_release -sc)/ ./ | tee /etc/apt/sources.list.d/proxysql.list" | |
| - apt-get update | |
| - apt-get install -y proxysql | |
| - "curl -s https://proxysql.com/get/dbdeployer | bash" | |
| - mv /dbdeployer /usr/local/bin | |
| - dbdeployer --version | |
| - wget -q https://github.com/ronaldbradford/dbdeployer/releases/download/2.3.5/dbdeployer-2.3.5.linux | |
| - mv dbdeployer-2.3.5.linux /usr/local/bin/dbdeployer | |
| - chmod +x /usr/local/bin/dbdeployer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment