Commit Graph

51 Commits

Author SHA1 Message Date
crazehang
169d8a927e docs: fix some comments
Signed-off-by: crazehang <zhangrenzhong@outlook.com>
2024-04-03 17:28:12 +08:00
Jose Diaz-Gonzalez
c36f23b072 fix: add missing cron:set command
The code existed but somehow it wasn't exposed as a command.

Closes #6655
2024-03-06 01:56:25 -05:00
Jose Diaz-Gonzalez
798b176985 fix: correct issue where --force-tty was not properly supported by run:detached calls
Closes #6606
2024-02-25 00:02:06 -05:00
Jose Diaz-Gonzalez
c23e878e7d feat: add the ability to specify a custom mailto for all cron output 2023-10-15 20:25:09 -04:00
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
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
515994c8d3 feat: add the ability to execute a cron task on the fly
Closes #4904
2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
820883e60c feat: add json format output to cron:list command
This makes it easier to parse output in a machine-readable format - such as when interacting with cron tasks via jq for writing tests.
2023-08-05 10:58:57 -04:00
Kevin Leutzinger
f3724fd8cf Fix typo in scheduled-cron-tasks.md 2023-07-02 20:43:16 -07: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
Gerard Paapu
d58f570295 Fix: repair malformed code-block
This code-block starts with triple-backticks  but is closed with 4 backticks, causing the documentation page to render incorrectly
2023-05-18 11:16:23 +12:00
Tyler Crumpton
8efb02827f Fix "cotainer" typo in one-off page. 2023-04-24 22:19:56 -04:00
Alejandro Akbal
ceb03d6341 docs(Scheduled Cron Tasks): remove deprecated used of --rm flag in dokku run 2022-12-09 09:33:37 +00:00
Jose Diaz-Gonzalez
d6920230db feat: implement run:logs command
Closes #5312
2022-11-02 16:49:43 -04:00
Jose Diaz-Gonzalez
aa810cda7d feat: implement run:stop command
Closes #5169
2022-10-31 10:55:17 -04:00
Jose Diaz-Gonzalez
a4554b794e Merge pull request #5320 from dokku/5171-run-json-output
Add json format output to run:list
2022-10-29 17:06:50 -04:00
Jose Diaz-Gonzalez
b5da7a08b1 docs: document that scaling via app.json will set all other processes to zero
Closes #5412
2022-10-21 21:38:30 -04:00
Jose Diaz-Gonzalez
69738abec2 feat: add json format output to run:list
Also add some unit tests to the command.

Closes #5171
2022-08-22 22:37:04 -04:00
Jose Diaz-Gonzalez
f094ea1f72 chore: move nginx docs to new proxies location 2022-08-10 04:23:05 -04:00
Jose Diaz-Gonzalez
a2fc3443d2 docs: clarify the exact command that is run once a day by cron tasks
Refs #5078
2022-04-02 00:55:10 -04:00
Jose Diaz-Gonzalez
b706b6f579 docs: clarify that all run containers are removed at the end of process execution 2022-01-27 21:08:34 -05:00
Jose Diaz-Gonzalez
8cbec57bf5 docs: add documentation for ps:restore
Also document dokku-event-listener usage.

Closes #4966
2022-01-24 01:37:59 -05:00
Damien BUTY
f6a819351f Update scheduled-cron-tasks.md 2021-12-10 11:05:34 +01:00
Jose Diaz-Gonzalez
55554ce9bd feat: add ability to increase the max parallelism when deploying a given process type 2021-10-09 22:44:03 -04:00
Jose Diaz-Gonzalez
b48b79f5ca feat: allow specifying a single process type to restart
This changes restarts to drop the 'release' part that currently gets triggered, which also helps reduce the possibility that a new image layer will be added due to predeploy deploy triggers.

Note that the old method essentially halfway-rebuilt the app (which was what added the extra layer). This refactor removes that, which is a bc-break.

Additionally, scaling processes will result in deploying _only_ restarting the processes being scaled.

Closes #2184
2021-10-09 18:46:17 -04:00
Jose Diaz-Gonzalez
d1a16717b3 chore: remove deprecated tar plugin
This plugin was deprecated in 0.24.0 in favor of git:from-archive. Users should migrate to the new command.
2021-10-09 18:43:53 -04:00
Jose Diaz-Gonzalez
52f3cf2af0 docs: clarify valid values for container-type when entering containers
Refs #4768
2021-09-10 23:20:16 -04:00
Komlan Akpédjé KEDJI
aa276f0b18 Fix process management: s/formations/formation/ (app.json)
app.json expects a "formation" (singular) key, not a "formations" (plural) key
2021-08-23 01:39:44 +02:00
Jose Diaz-Gonzalez
77340011bd docs: clarify the shape of the command that should be entered in app.json for a cron task 2021-08-05 20:27:58 -04:00
Jose Diaz-Gonzalez
31f3c429ab docs: fix DOKKU_SCALE reference 2021-08-01 00:33:36 -04:00
Jose Diaz-Gonzalez
fee6773ef3 docs: add deprecation note to migration guide
Also add documentation for formations key.
2021-08-01 00:31:28 -04:00
Jose Diaz-Gonzalez
86a2b7d2e3 docs: clarify when the cli changes were made 2021-07-27 03:03:18 -04:00
Jose Diaz-Gonzalez
a91a0f8abb docs: application => app 2021-07-27 02:59:33 -04:00
Jose Diaz-Gonzalez
5a1a30efeb feat: add ability to list one-off dynos 2021-07-27 02:58:45 -04:00
Jose Diaz-Gonzalez
3d913d89f6 docs: add run:detached to documentation 2021-07-27 02:58:45 -04:00
Jose Diaz-Gonzalez
1c6f847c55 docs: update help output 2021-07-27 02:58:45 -04:00
Jose Diaz-Gonzalez
61d4b478ce feat: add --no-tty flag to run and run:detached commands 2021-07-27 02:58:45 -04:00
Jose Diaz-Gonzalez
350a84d253 refactor: deprecate the --detach flag in favor of run:detached 2021-07-27 02:58:44 -04:00
Jose Diaz-Gonzalez
618158a0f3 refactor: deprecate the --rm and --rm-container flags
These flags are not commonly invoked by users, causing issues when cleaning up old containers. Rather than instruct users to use some random flag, just change the default to what is likely to be more common.
2021-07-27 02:58:19 -04:00
Jose Diaz-Gonzalez
864562221d docs: specify that run containers use the same image 2021-07-24 13:41:03 -04:00
Jose Diaz-Gonzalez
f62373c3fa docs: add notes for what happens if the specified values do not exist 2021-07-10 14:57:57 -04:00
Jose Diaz-Gonzalez
c3ece32145 feat: add ability to specify a custom Procfile path 2021-07-10 14:57:56 -04:00
Jose Diaz-Gonzalez
c50f39b4fa docs: more cleanup 2021-07-09 22:46:52 -04:00
Jose Diaz-Gonzalez
1b216841a8 docs: more cleanup 2021-07-09 22:16:52 -04:00
Jose Diaz-Gonzalez
dba2246d7a docs: change process management doc references to make more sense
Closes #4426
2021-02-22 04:02:59 -05:00
Jose Diaz-Gonzalez
82da43cfba docs: fix reference to dokku user crontab in cron docs
[ci skip]
2021-02-03 14:49:25 -05:00
Milan Vit
103e47b6dd [ci skip] Fix spelling in Cron documentation 2021-01-25 10:09:00 +09:00
Jose Diaz-Gonzalez
bce0671057 docs: drop extra text
[ci skip]
2021-01-21 01:34:35 -05:00