feat: initial docker installation support

Refs #1076
This commit is contained in:
Jose Diaz-Gonzalez committed 2019-07-18 00:24:23 -04:00
1 parent 6b42fde028
commit 3eb9c9b3ba
10 files changed
+172

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
#!/bin/bash
exec >> /var/log/services/dokku-init
exec 2>&1
echo "Running dokku-init"
cd /tmp || exit 1
if [[ -n "$DOKKU_HOSTNAME" ]]; then
echo "dokku dokku/vhost_enable boolean true" | debconf-set-selections
dokku --quiet domains:set-global "$DOKKU_HOSTNAME"
fi
exec dokku ps:restore