From 9859d3f544367ce8253300af5c891cf99d6ed4a0 Mon Sep 17 00:00:00 2001 From: lauralani Date: Sat, 22 Apr 2023 09:48:16 +0200 Subject: [PATCH] add dokku script --- dokku/app-create.sh | 10 ++++++++++ dokku/readme.md | 5 +++++ 2 files changed, 15 insertions(+) create mode 100644 dokku/app-create.sh create mode 100644 dokku/readme.md diff --git a/dokku/app-create.sh b/dokku/app-create.sh new file mode 100644 index 0000000..32aa7b8 --- /dev/null +++ b/dokku/app-create.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +appname=$1 +if [[ -z "$appname" ]]; then + echo "Usage: $0 app-name" + exit 1 +fi + +dokku apps:create $appname +dokku proxy:set $appname caddy diff --git a/dokku/readme.md b/dokku/readme.md new file mode 100644 index 0000000..8993b54 --- /dev/null +++ b/dokku/readme.md @@ -0,0 +1,5 @@ +# dokku-scripts + +Scripts for managing a dokku instance + +https://dokku.com/