Commit Graph

88 Commits

Author SHA1 Message Date
Jose Diaz-Gonzalez
0d75a8e46f chore: fix typo 2023-12-09 13:48:37 -05:00
Jose Diaz-Gonzalez
a902165547 fix: update link docs to remove erroneous copy-paste 2023-02-25 01:50:30 -05:00
Jose Diaz-Gonzalez
3c6b6e1c0f feat: add ability to skip restarts on link and unlink
Refs dokku/dokku-redis#192
2023-02-20 23:26:44 -05:00
Jose Diaz-Gonzalez
c3b51a064d fix: correct imports 2023-02-08 01:42:07 -05:00
Jose Diaz-Gonzalez
43d0987322 feat: add support for network related flags on create, clone, and upgrade
Also add some tests to cover all the network-related functionality.
2023-02-08 00:03:25 -05:00
Jose Diaz-Gonzalez
fe378009d8 feat: add network properties to :info output 2023-02-07 18:25:04 -05:00
Jose Diaz-Gonzalez
ab0d871347 docs: add example for multiple networks 2023-02-07 18:25:04 -05:00
Jose Diaz-Gonzalez
cd13edd30d fix: correct error message for valid/invalid properties 2023-02-07 18:25:04 -05:00
Jose Diaz-Gonzalez
1d6654943b fix: actually call the :set function and ensure we write properties to the correct namespace 2023-02-07 18:25:04 -05:00
Jose Diaz-Gonzalez
b6ccd491fd feat: add support for specifying an initial-network property
This network is the network that is associated with the container on creation. If specified, then the bridge network is not attached to the service.

Only a single initial network can be specified at this time.
2023-02-07 18:25:04 -05:00
Jose Diaz-Gonzalez
0f569b158c fix: properly support new image and image-version values during plugin upgrades
Closes dokku/dokku-mongo#143
Closes dokku/dokku-redis#193
Closes dokku/dokku-redis#195
2023-02-07 06:53:40 -05:00
Jose Diaz-Gonzalez
646356d086 refactor: use DOCKER_BIN env var instead of calling docker directly
This will allow us to alias the docker binary with podman for most actions - other than updating running containers.
2023-02-07 03:53:08 -05:00
Jose Diaz-Gonzalez
b50752d009 refactor: use namespaced docker commands for interacting with the docker binary 2023-02-07 03:39:42 -05:00
Jose Diaz-Gonzalez
649ea35cb9 fix: pull the new docker image when upgrading a service if DOCKER_IMAGE_PULL is not disabled
Refs dokku/dokku-clickhouse#51
2023-02-07 02:45:36 -05:00
Jose Diaz-Gonzalez
9ef9985d4a feat: add :pause subcommand and make :stop subcommand actually remove the container 2022-12-26 17:39:50 -05:00
Jose Diaz-Gonzalez
cfbe99cb77 fix: move warning below service name verification 2022-07-19 01:34:22 -04:00
Jose Diaz-Gonzalez
9c72f9a8e0 refactor: set the plugin name as the first argument to the service-action trigger
This is a breaking change, but is necessary as otherwise it is impossible to know which datastore plugin a team is meant for.
2022-07-10 15:29:11 -04:00
Jose Diaz-Gonzalez
9e5bf61dc0 fix: ensure the new service does not exist when cloning an existing service 2022-07-06 01:47:31 -04:00
Jose Diaz-Gonzalez
7e1301d6d4 fix: ensure we check if the service exists before entering it 2022-07-06 01:36:40 -04:00
Jose Diaz-Gonzalez
ac4fee6acb docs: clarify unit for container memory limit 2022-01-22 04:31:53 -05:00
Jose Diaz-Gonzalez
88e6d790e1 feat: allow tailing a specific number of log lines 2021-10-26 22:27:15 -04:00
Jose Diaz-Gonzalez
f132d89425 docs: use a 'standard' name for the data dump 2021-09-13 03:25:06 -04:00
Jose Diaz-Gonzalez
ba85668e26 docs: document the possibility of zombie processes on ssh disconnect for :connect and :enter commands
Apparently terminating the ssh connection that runs 'docker exec' may result in a process leak as the signal isn't propagated properly (moby/moby#9098). Since we cannot fix this, we should document it so that users do not stumble upon the issue unawares.

Closes dokku/dokku-postgres#212
2021-09-13 03:21:24 -04:00
Jose Diaz-Gonzalez
6885913479 docs: properly spell lollipop
I've been misspelling my stand-in variable name for years...
2021-09-13 00:57:34 -04:00
Jose Diaz-Gonzalez
d9a8bc3357 feat: allow setting shm-size on created containers
Refs dokku/dokku-postgres#188
Closes dokku/dokku-postgres#201
2021-09-13 00:46:49 -04:00
Jose Diaz-Gonzalez
386a97d68d docs: correctly represent the url and env vars that get injected via docker link
Closes dokku/dokku-postgres#221
2021-09-12 23:38:52 -04:00
Jose Diaz-Gonzalez
cb5aa08986 docs: fix the variable reference for plugins where the alias does not match the variable
Closes dokku/dokku-postgres#199
2021-09-12 22:55:02 -04:00
Jose Diaz-Gonzalez
9cb2f75469 docs: make tense in command descriptions more consistent 2021-09-12 22:37:15 -04:00
Jose Diaz-Gonzalez
720ddea579 feat: add ability to set container config options during create/clone/upgrade actions
Also add to documentation where possible.

Closes dokku/dokku-mongo#131
2021-09-12 22:16:14 -04:00
Jose Diaz-Gonzalez
9b6d6430fb feat: add the ability to constrain memory on service start/clone
Refs dokku/dokku-redis#86
2021-09-12 07:43:03 -04:00
Jose Diaz-Gonzalez
5ce48afd51 docs: add a note as to how to specify an interface/ip to bind on when exposing a service
Closes dokku/dokku-mongo#128
2021-09-12 07:09:56 -04:00
Jose Diaz-Gonzalez
3aed82c9d7 docs: document how to restore a backup 2021-09-12 06:59:50 -04:00
Jose Diaz-Gonzalez
bb2ba3807a feat: add plugin trigger for service creation and deletion 2021-02-25 19:54:59 -05:00
Tomas Hromada
bc5985881a purge mentions of the faux-username from the codebase 2020-11-21 21:17:55 +01:00
Jose Diaz-Gonzalez
e43904641b fix: allow config directory to be configurable
For postgres, the config directory doesn't actually exist, so adding this configurability allows the plugin's info command to report correctly.
2020-05-16 02:49:34 -04:00
Jose Diaz-Gonzalez
f9d5735c6c docs: correct casing/quoting on sentences 2020-05-15 00:34:38 -04:00
Jose Diaz-Gonzalez
b421d681af docs: make the gpg passphrase a bit more clear 2020-05-14 23:33:01 -04:00
Jose Diaz-Gonzalez
2d07341518 docs: drop unimpemented commands from readme and reorganize 2020-04-04 16:43:31 -04:00
Jose Diaz-Gonzalez
9ace27266c feat: move all image names to config file
This allows us to more quickly update the image versions in use for tertiary images.
2020-03-30 20:09:04 -04:00
Jose Diaz-Gonzalez
312d9298c7 feat: add service:links command
This allows users to script against apps that are linked to a given service
2019-07-15 14:59:05 -07:00
Jose Diaz-Gonzalez
f2342ed6fc feat: upgrade busybox to 1.31.0-uclibc 2019-07-11 13:36:41 -07:00
Jose Diaz-Gonzalez
7ddd0c9201 chore: run shfmt 2019-05-30 11:06:25 -04:00
Jose Diaz-Gonzalez
7f37534d13 feat: pin busybox to an actual version
Rather than dancing around what version of busybox to use, pin it to the latest, known good version of busybox. This will give us confidence in what is being shipped and run on a user's machine.
2019-03-25 14:14:22 -04:00
Jose Diaz-Gonzalez
c2e91b03fe fix: pin busybox in run commands to the image we pull down 2019-03-25 13:51:15 -04:00
Jose Diaz-Gonzalez
3742195ad1 chore: unify with other plugins 2019-03-19 15:00:55 -04:00
Jose Diaz-Gonzalez
7ce772224a fix: correct the validation message 2019-03-09 16:39:35 -05:00
Jose Diaz-Gonzalez
28ff40a507 refactor: call service_container_rm from subcommands/destroy 2019-03-08 23:27:55 -05:00
Jose Diaz-Gonzalez
a080b57221 fix: ensure any backup cron files are deleted when the service is destroyed
Closes dokku/dokku-redis#118
2018-12-02 05:10:07 -05:00
Jose Diaz-Gonzalez
1af32de972 fix: correct documentation around the passphrase parameter
Closes dokku/dokku-mysql#101
2018-12-02 04:33:58 -05:00
Jose Diaz-Gonzalez
3fc6322b02 fix: correct issues in upgrade and fix tests 2018-10-11 14:16:47 -04:00