Some checks failed
bump-formula / bump-formula (push) Has been cancelled
# History ## 0.23.0 Install/update via the bootstrap script: ```shell wget https://raw.githubusercontent.com/dokku/dokku/v0.23.0/bootstrap.sh sudo DOKKU_TAG=v0.23.0 bash bootstrap.sh ``` See the [0.23.0 migration guide](/docs/appendices/0.23.0-migration-guide.md) for more information on migrating to 0.23.0. ### Bug Fixes - #4356: @josegonzalez Do not retag images unnecessarily - #4355: @josegonzalez Allow underscores in vector schemes - #4350: @josegonzalez Add missing trigger to events plugin - #4348: @josegonzalez Correct app-specific shell handling - #4333: @josegonzalez Drop tmpdir environment variables when not running as dokku user ### New Features - #4336: @josegonzalez Add ability to manage stacks on an app or global level … - #4354: @josegonzalez Log all triggers called by golang in trace output - #4300: @AubreyHewes allow disabling hsts globally and explicitly enable per app - #4337: @josegonzalez Add logrotation to container log files - #4318: @josegonzalez Add ability to set client max body size via nginx:set - #4343: @josegonzalez feat: add initial scheduled task implementation - #4297: @josegonzalez Add support for cloning/syncing from a remote repository - #4340: @bjornpost Allow configuring x-forwarded-* proxy headers via nginx:set ### Refactors - #4349: @josegonzalez Remove need for internal dokku calls ### Documentation - #4347: @fomojola Add post-deploy webhook to list of community plugins - #4342: @AubreyHewes Point to current testing docs - #4341: @josegonzalez Add testing link to contributing.md ### Tests - #4352: @josegonzalez Add a test for application renames - #4351: @josegonzalez Set hostname for CI runs - #4322: @josegonzalez Switch to Github Actions for CI ### Other - #4353: @josegonzalez Drop unused flag introduced by logs max-size feature
56 lines
1.7 KiB
Markdown
56 lines
1.7 KiB
Markdown
# Docker Installation Notes
|
|
|
|
Pull the dokku/dokku image:
|
|
|
|
```shell
|
|
docker pull dokku/dokku:0.23.0
|
|
```
|
|
|
|
Next, run the image.
|
|
|
|
```shell
|
|
docker run \
|
|
--env DOKKU_HOSTNAME=dokku.me \
|
|
--name dokku \
|
|
--publish 3022:22 \
|
|
--publish 8080:80 \
|
|
--publish 8443:443 \
|
|
--volume /var/lib/dokku:/mnt/dokku \
|
|
--volume /var/run/docker.sock:/var/run/docker.sock \
|
|
dokku/dokku:0.23.0
|
|
```
|
|
|
|
Dokku is run in the following configuration:
|
|
|
|
- The global hostname is set to `dokku.me` on boot.
|
|
- The container name is dokku.
|
|
- Container SSH port 22 is exposed on the host as 3022.
|
|
- Container HTTP port 80 is exposed on the host as 8080.
|
|
- Container HTTPS port 443 is exposed on the host as 8443.
|
|
- Data within the container is stored on the host within the `/var/lib/dokku` directory.
|
|
- The docker socket is mounted into container
|
|
- The "web installer" is not supported.
|
|
|
|
Application repositories, plugin config, and plugin data is persisted to disk within the specified host directory for `/var/lib/dokku`.
|
|
|
|
To install custom plugins, create a `plugin-list` file in the host's `/var/lib/dokku` directory. The plugins listed herein will be automatically installed by Dokku on container boot. This file should be the following format:
|
|
|
|
```yaml
|
|
plugin_name: repository_url
|
|
```
|
|
|
|
An example for installing the postgres and redis plugins follows:
|
|
|
|
```yaml
|
|
postgres: https://github.com/dokku/dokku-postgres.git
|
|
redis: https://github.com/dokku/dokku-redis.git
|
|
```
|
|
|
|
To initialize ssh-keys within the container, use `docker exec` to enter the container and run the appropriate ssh-keys commands.
|
|
|
|
```shell
|
|
docker exec -it dokku bash
|
|
```
|
|
|
|
Please see the [user management documentation](/docs/deployment/user-management.md) for more information.
|