397 Commits

Author SHA1 Message Date
Jose Diaz-Gonzalez
d61d91cf87 docs: use github admonitions
These still need to be properly parsed.
2023-08-19 14:24:12 -04:00
Jose Diaz-Gonzalez
5dd78e2b86 docs: update markdownlint rules for better formatting 2023-08-19 13:46:42 -04:00
Jose Diaz-Gonzalez
24d94576a9 feat: make heroku-22/jammy the default stack for cnb/herokuish builds 2023-08-09 10:11:33 -04:00
Jose Diaz-Gonzalez
26e9cc9b8c feat: add support for non-web healthchecks via app.json
This change converts existing CHECKS files into a healthchecks key that is understood by 'docker-container-healthchecker'. This tool supports a number of different types of container healthchecks - command, http, uptime - and can perform healthchecks against non-web processes.

The use of the old CHECKS file is now deprecated, and will be removed in the next minor version. Users can use the 'docker-container-healthchecker' to convert existing CHECKS files to the new format automatically.

Closes #2760
2023-08-06 17:23:13 -04:00
Jose Diaz-Gonzalez
1431724b85 feat: use ports-clear plugn trigger to manage clearing the port map
This removes any access to the underlying implementation for port map clearing, which will make it easier to refactor the actual clearing.
2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
fb9d77878d refactor: move CHECKS file extraction to the beginning of the deploy
This makes deploys faster for any that are built from source as the image artifact isn't involved in those cases while also unifying how the file is handled.

Refs #2760
2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
94f4d1325c feat: export environment variables during dockerfile builds for use with value-less --build-arg flags
Exposing all config values will allow users to skip setting environment variables twice - once as a docker option and once as an env var. Docker will automatically pull the value from the environment if none is set for the --build-arg flag.

Users will still be required to specify each desired env var via --build-arg as otherwise docker builds will complain about unused build arguments.

Re-implements #5978 (lost in a rebase)
Closes #5903
2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
b8680f7de7 fix: automatically clear the git source-image property when changing deployment methodologies
This ensures users don't have issues with cached state in regards to files pulled from the repo/image.

Also add missing docs for deploy-source-set trigger.

Closes #5963
2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
b77bd45808 docs: clarify how to specify the contents of an ssh key for dokku
- The path has to exist on the remote server
- The `~` is interpreted as the dokku user
- You can echo or cat your key instead of specifying a path
2023-07-06 16:00:51 -04:00
Jose Diaz-Gonzalez
f465c0e221 docs: unify all Procfile-handling documentation under the process management docs
This makes it more clear as to how the various builders utilize the Procfile, and also ensures we don't have conflicting information anywhere.
2023-07-01 18:02:42 -04:00
Jose Diaz-Gonzalez
73f61b75d5 docs: update docs to mention that files are extracted from source where source code is available
Recent Dokku changes invalidate a bunch of docs around where files need to be placed in order for Dokku to respect them. This doc change clarifies where files are extracted from in cases where source code is available, which should hopefully make users less confused about how the system works.

See https://railsnotes.xyz/blog/deploying-ruby-on-rails-with-dokku-redis-sidekiq-arm-docker-hetzner for the inspiration - I was reading through it and was like 'these docs are definitely incorrect...'.
2023-07-01 08:58:43 -04:00
Jose Diaz-Gonzalez
830cb22542 Merge pull request #5921 from aradalvand/patch-1
Update dockerfiles.md to mention that BuildKit is the default builder from Docker v24 onwards
2023-06-10 00:55:22 -04:00
Arad Alvand
91b0ac6cc0 Remove :master from git push commands in application-management.md 2023-06-10 08:12:44 +03:30
Arad Alvand
b235983169 Remove :master from git push commands in application-deployment.md 2023-06-10 08:11:46 +03:30
Arad Alvand
4d8f831a76 Fix BuildKit casing 2023-06-09 17:08:57 +03:30
Arad Alvand
4259077589 Update dockerfiles.md to mention that BuildKit is the default builder from Docker v24 onwards 2023-06-09 17:04:30 +03:30
Johannes Visintini
6ddd7f09e9 Update application-deployment.md
example uses HTTPS, not SSH anymore
2023-05-22 12:02:40 +02:00
Samuelodan
a7695170a6 Update instructions for setting letsencrypt global email
Since there's no instruction for how to use the DOKKU_LETSENCRYPT_EMAIL env variable, I'm not sure why it's included here.
So, instead, I'm proposing to include the step for directly setting the global email for `dokku-letsencrypt`.

(It'll be nice to also get some explanation behind creating that env variable)
2023-03-13 05:03:58 +01:00
josegonzalez
322e1404ef docs: note that the app.json is pulled from the specified image when deploying via git:from-image 2023-02-16 23:33:14 -05:00
josegonzalez
f26047804b docs: add "new as of" prefix to version in user management docs 2023-02-10 13:01:07 -05:00
Jose Diaz-Gonzalez
d333c16347 feat: add ability to deploy images generated via docker save with git:load-image
Closes #4559
2023-01-21 14:05:31 -05:00
Jose Diaz-Gonzalez
fcb25e1842 chore: remove references to ubuntu 18.04 ahead of EOL
While we will still build for 18.04, we will now stop testing against it. Instead, we will test against 20.04, the next EOL release after 18.04.

Once Ubuntu 18.04 is EOL, any references to it will also be removed.

Note that 18.04 support was already deprecated in Dokku 0.28.0, so this change is just acknowledging that deprecation.
2023-01-16 01:39:59 -05:00
Jose Diaz-Gonzalez
7015fd1e5c chore: remove deprecated ability to call logs:failed without specifying an app or --all flag
This option was deprecated in Dokku 0.22.0.
2023-01-16 01:31:56 -05:00
Jose Diaz-Gonzalez
0653a2b0bf feat: add support for customizing the remote in use for all commands sent via the official client
Closes #5564
2023-01-14 17:53:33 -05:00
Jose Diaz-Gonzalez
c8ec0825d3 chore: update actions/checkout 2022-12-29 00:05:02 -05:00
Jose Diaz-Gonzalez
c3c6e2174a fix: keep track of the source image when building an app via git:from-image
This change fixes issues with ps:rebuild not working as expected - essentially ignoring files in the repo - as well as adds tests.

Closes #5518
2022-12-18 17:57:24 -05:00
Jose Diaz-Gonzalez
654939afa7 refactor: do not pull image if it already exists 2022-12-18 17:52:32 -05:00
josegonzalez
e3f3099dc0 docs: fix reference to scheduler name in kubernetes docs
Closes dokku/dokku-scheduler-kubernetes#40
2022-12-07 23:25:05 -05:00
josegonzalez
74ff966b9e docs: fix reference to scheduler name in nomad docs 2022-12-07 23:23:49 -05:00
josegonzalez
d66dc84c28 Merge pull request #5478 from dokku/herokuish-on-arm
Allow users to enable herokuish usage on arm/arm64 platforms
2022-11-24 23:00:47 -05:00
Jose Diaz-Gonzalez
beb8dff68c docs: cleanup builder docs a little 2022-11-24 14:46:51 -05:00
Jose Diaz-Gonzalez
1238c8d7e0 feat: allow users to enable herokuish usage on arm/arm64 platforms
While the majority of buildpacks do not work on non-amd64 platforms, this will at least allow developers the option to choose when to override this setting.
2022-11-24 14:43:47 -05:00
josegonzalez
c398a2bc59 chore: document checks:set and new report properties 2022-11-22 22:44:23 -05:00
Jose Diaz-Gonzalez
f5c3b5dc34 refactor: move DOKKU_WAIT_TO_RETIRE to a checks property
This centralizes the property and removes one more dokku-specific property from the app environment variables.

Closes #5049
2022-11-22 20:27:43 -05:00
Jose Diaz-Gonzalez
aca8deb2f2 feat: add git:status subcommand
Closes #5248
2022-11-09 00:04:45 -05:00
Jose Diaz-Gonzalez
75d8e943a3 docs: specify correct command for builder-lambda:report 2022-11-05 21:53:29 -04:00
Jose Diaz-Gonzalez
1474297397 docs: use correct indentation for embedded list in remote commands documentation 2022-09-19 13:29:47 -04:00
Jose Diaz-Gonzalez
c5d282dcd1 Merge pull request #5328 from holtergram/patch-1
Update docs: Added Git change remote
2022-09-06 22:21:11 -04:00
Jose Diaz-Gonzalez
01531c3986 docs: cleanup links to renamed docs 2022-09-05 16:49:56 -04:00
Jose Diaz-Gonzalez
b8907d1f8e docs: update page titles to match sidebar 2022-09-05 14:43:45 -04:00
Jose Diaz-Gonzalez
0b097b9b87 docs: ensure doc links work on github as well as on docs site 2022-09-03 01:13:31 -04:00
holtergram
548013e46f Update docs: Added Git change remote
In order to make `git push` work after renaming an app the hint was added to update the remote url
2022-08-25 22:39:38 +02:00
Jose Diaz-Gonzalez
293ead4f35 feat: force-disable the --init flag for linuxserver images
All linuxserver images uses S6, and there are enough of them that this makes sense to autodetect on behalf of users.
2022-08-10 21:33:08 -04:00
Jose Diaz-Gonzalez
c4c6ac5617 feat: add the ability to disable the init process
This allows projects using s6 overlay - in particular linxserver images - the ability to disable --init flag injection.

Closes #5287
2022-08-10 21:32:55 -04:00
Jan Lavička
403da909cb docs: fix typo in kubernetes docs 2022-08-10 18:26:27 +00:00
Jose Diaz-Gonzalez
86d7b6b649 docs: fix path for alternative lamba.yml 2022-08-08 15:15:29 -04:00
Jose Diaz-Gonzalez
fbd77ee5e8 docs: document the lambda builder 2022-08-08 15:14:49 -04:00
Jose Diaz-Gonzalez
dcb880b0f2 docs: clarify log shipping stance
While it is unfortunate that we don't store logs locally, doing so is actually a fairly difficult ask. Rather than pretending the problem doesn't exist, we'll clarify how logs are currently fetched, as well as point users to integrations/tools that may make their lives easier.

Refs #5234
2022-07-05 14:49:21 -04:00
Jose Diaz-Gonzalez
f4f3d4adc6 docs: fix builder-pack:set command example 2022-07-04 23:30:38 -04:00
asokoloski-m
4fc23a8ffb Fix incorrect command for app storage status 2022-06-08 09:08:31 -05:00