You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit cc47145
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: README.md
+19-6Lines changed: 19 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,12 +14,19 @@ Docker powered mini-Heroku. The smallest PaaS implementation you've ever seen. I
14
14
* Built-in support for Docker-args and container persistent volumes
15
15
* Built-in support for container's TOP
16
16
* Built-in support for foreman-based Procfile
17
-
* Preboot / zero-downtime deploy (in beta)
18
-
* Data volumes (in beta)
17
+
* Data volumes with host-based volumes
18
+
* Preboot / zero-downtime deploy
19
+
* Enter and exec commands in already running containers (BETA)
19
20
20
21
### Planned features:
21
22
22
-
* Full, partial and incremental backup
23
+
* Support better image tagging
24
+
* Support for RabbitMQ and Memcached
25
+
* Support for custom nginx templates
26
+
* Support for application scaling
27
+
* Support for running buildstep-based applications as non-root user
28
+
* Support for `CHECKS` as described in https://labnotes.org/zero-downtime-deploy-with-dokku/
29
+
* Full and incremental backup
23
30
* Access-control: deploy only keys, non-admin users
24
31
* Application migration
25
32
@@ -47,7 +54,7 @@ You'll have to add a public key associated with a username by doing something li
47
54
48
55
## Upgrade and beta releases
49
56
50
-
Unlinke`dokku` this script uses debian packaging system (deb). To upgrade to latest version simply execute: `sudo apt-get update && sudo apt-get install dokku-alt`.
57
+
Unlike`dokku` this script uses debian packaging system (deb). To upgrade to latest version simply execute: `sudo apt-get update && sudo apt-get install dokku-alt`.
51
58
52
59
Alongside the normal (stable) releases we distribute as well beta (bleeding edge). To switch to beta simply execute: `sudo apt-get update && sudo apt-get install dokku-alt-beta`. It will replace the stable dokku-alt and switch to beta.
To use different database engine simple replace `mariadb` with `postgresql` or `mongodb`.
174
181
175
-
## Preboot / zero-downtime boot (BETA)
182
+
## Preboot / zero-downtime boot
176
183
177
184
Similar to functionality provided by https://devcenter.heroku.com/articles/labs-preboot`dokku-alt` supports zero-downtime. To enable zero-downtime deployment execute command: `dokku preboot:enable APP`. Alongside with preboot there's `checks` plugin based on https://labnotes.org/zero-downtime-deploy-with-dokku/. For now it simply checks if application started serving requests. If checks module fails it will not replace the application.
178
185
@@ -184,7 +191,7 @@ Preboot and checks can be configured using a few env variables:
184
191
* DOKKU_CHECKS_TIMEOUT - number of seconds to wait for each response (default 20s)
185
192
* DOKKU_CHECKS_RETRY - number of retries (default 3)
186
193
187
-
## Data volumes (BETA)
194
+
## Data volumes
188
195
189
196
Docker allows you to have persistent data storage. Dokku-alt exposes this feature as Data Volumes. You can create unlimited number of data volumes, any data volume can be attached to unlimited number of apps. Simply create data volume and specify container paths which you want to be persistant.
190
197
@@ -205,6 +212,12 @@ Second link volume to an app:
205
212
206
213
It is just simple as this.
207
214
215
+
### Host-based volumes
216
+
217
+
Dokku-alt allows you to bind host-based volumes in very simple manner. To use this feature you have to be logged as `root` and than simply type:
Dokku provides easy TLS support from the box. To enable TLS connection to your application, copy the `.crt` and `.key` files into the `/home/dokku/:app/ssl` folder (notice, file names should be `server.crt` and `server.key`, respectively). Redeployment of the application will be needed to apply TLS configuration. Once it is redeployed, the application will be accessible by `https://` (redirection from `http://` is applied as well).
0 commit comments