Re-deploying/restarting
This commit is contained in:
@@ -101,6 +101,15 @@ If you only want to rebuild and tag a container, you can skip the deployment pha
|
|||||||
dokku config:set ruby-rails-sample DOKKU_SKIP_DEPLOY=true
|
dokku config:set ruby-rails-sample DOKKU_SKIP_DEPLOY=true
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Re-Deploying / restarting
|
||||||
|
|
||||||
|
If you need to re-deploy (or restart) your app:
|
||||||
|
|
||||||
|
```shell
|
||||||
|
# on your Dokku host
|
||||||
|
dokku deploy ruby-rails-sample
|
||||||
|
```
|
||||||
|
|
||||||
### Deploying with private git submodules
|
### Deploying with private git submodules
|
||||||
|
|
||||||
Dokku uses git locally (i.e. not a docker image) to build its own copy of your app repo, including submodules. This is done as the `dokku` user. Therefore, in order to deploy private git submodules, you'll need to drop your deploy key in `/home/dokku/.ssh/` and potentially add github.com (or your VCS host key) into `/home/dokku/.ssh/known_hosts`. The following test should help confirm you've done it correctly.
|
Dokku uses git locally (i.e. not a docker image) to build its own copy of your app repo, including submodules. This is done as the `dokku` user. Therefore, in order to deploy private git submodules, you'll need to drop your deploy key in `/home/dokku/.ssh/` and potentially add github.com (or your VCS host key) into `/home/dokku/.ssh/known_hosts`. The following test should help confirm you've done it correctly.
|
||||||
|
|||||||
Reference in New Issue
Block a user