Created
March 16, 2022 16:26
-
-
Save rolltidehero/a062b3dd2d3a9ba5eec6b4e55e12414c to your computer and use it in GitHub Desktop.
This file contains 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
# install docker | |
$ wget -nv -O - https://get.docker.com/ | sh | |
# setup dokku apt repository | |
$ wget -nv -O - https://packagecloud.io/dokku/dokku/gpgkey | apt-key add - | |
$ export SOURCE="https://packagecloud.io/dokku/dokku/ubuntu/" | |
$ export OS_ID="$(lsb_release -cs 2>/dev/null || echo "bionic")" | |
$ echo "bionic focal" | grep -q "$OS_ID" || OS_ID="bionic" | |
$ echo "deb $SOURCE $OS_ID main" | tee /etc/apt/sources.list.d/dokku.list | |
$ apt-get update | |
# install dokku | |
$ apt-get install dokku | |
$ dokku plugin:install-dependencies --core # run with root! | |
# Configure your server domain via `dokku domains:set-global` | |
# and user access (via `dokku ssh-keys:add`) to complete the installation |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment