Commit Graph

46 Commits

Author SHA1 Message Date
Jose Diaz-Gonzalez
c3b51a064d fix: correct imports 2023-02-08 01:42:07 -05:00
Jose Diaz-Gonzalez
059ece5173 fix: add missing source calls 2023-02-07 22:38:51 -05:00
Jose Diaz-Gonzalez
c0ab76da8b fix: ensure properties are setup on plugin install 2023-02-07 22:25:43 -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
725ec8ff59 chore: run shfmt 2022-07-25 01:15:32 -04:00
Jose Diaz-Gonzalez
099764aa40 feat: implement service filtering
If a user implements the user-auth-service trigger in a plugin and that plugin does not echo the passed in app(s) on stdout, the app is assumed to not exist. This mirrors the functionality for applications in regards to auth filtering.

This may still need auditing to ensure it covers everything and doesn't cause issues, but local testing implies that everything is working as expected.
2022-07-07 02:54:14 -04:00
Jose Diaz-Gonzalez
93415ced00 fix: always chown the image files 2022-02-03 10:30:27 -05:00
Jose Diaz-Gonzalez
60d46920d4 fix: ensure service config files are owned by the dokku system user
Refs dokku/dokku-postgres#245
2022-01-22 04:23:53 -05:00
Jose Diaz-Gonzalez
7e73273ad3 fix: pin the image and image version of a created service at creation time
This will help ensure that users upgrading to a new plugin version who stop/start databases will always get the same version. This is particularly important for datastores such as elasticsearch and postgres that have more involved upgraded processes.
2021-09-13 02:28:42 -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
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
3bfcb5bc2c chore: update dokku/wait version 2019-12-27 16:57:13 -05:00
Jose Diaz-Gonzalez
0cec2f2119 chore: update dokku/ambassador version 2019-12-27 16:55:26 -05:00
Jose Diaz-Gonzalez
233b03e7ca chore: update dokku/s3backup version 2019-12-27 16:53:23 -05:00
Jose Diaz-Gonzalez
ba5b90349b chore: reorder images 2019-07-11 14:32:49 -07:00
Jose Diaz-Gonzalez
46bd7f534f feat: update ambassador, s3backup, and wait images 2019-07-11 14:31:47 -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
2ddc21b748 fix: update docker-s3backup image to fix backups to s3 2019-03-28 05:23:39 -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
2b4cd95ddd feat: update to latest dokku/s3backup image 2019-03-25 13:47:03 -04:00
Jose Diaz-Gonzalez
9554b9a43f feat: switch to updated wait image 2019-03-25 12:46:42 -04:00
Jose Diaz-Gonzalez
0641b7baae feat: switch to updated ambassador image 2019-03-25 12:46:01 -04:00
Jose Diaz-Gonzalez
d675c99b80 refactor: allow usage of the same variable to disable docker pulls 2018-04-23 06:57:00 -04:00
Jody McIntyre
956e22962e feat: allow skipping pulling an image for the redis plugin when REDIS_DISABLE_PULL=true 2018-04-11 10:47:05 -04:00
Jose Diaz-Gonzalez
740c9379a8 feat: prepare ground for config directory changes 2017-09-11 03:53:10 -04:00
Jose Diaz-Gonzalez
29e06fa758 feat: Adds possibility to set encryption for s3 2017-09-09 14:27:52 -04:00
Jose Diaz-Gonzalez
bd8d86c69b Adds parameters to backup-auth for region support and non AWS endpoint support
Refs dokku/dokku-mariadb#61
2017-08-26 00:07:22 -04:00
Jose Diaz-Gonzalez
6a7f525e0e fix: use updated dokkupaas/s3backup image to fix backup issues. Closes dokku/dokku-postgres#109 2017-04-13 19:56:48 -06:00
Jose Diaz-Gonzalez
0b81908cb2 feat: enable uploading backups to any region 2017-04-11 09:51:52 -06:00
Jose Diaz-Gonzalez
163a953839 Fix error in backup scheduling 2017-03-19 17:54:13 -06:00
Jose Diaz-Gonzalez
fdc927203c feat: add s3 backup support 2016-10-31 11:39:36 -06:00
Jose Diaz-Gonzalez
a58af14c0d Make install hook quiet when there is nothing to do 2016-08-28 02:04:08 -04:00
Jose Diaz-Gonzalez
590c7f57ac use grep -q when checking for docker images 2016-05-08 02:51:27 -04:00
Jose Diaz-Gonzalez
817ebbd405 Rework how config vars are sourced
- ensure we source config/functions from the correct directory
- move config sourcing up before DOKKU_TRACE to reduce trace output
2016-05-04 13:57:49 -04:00
Loïc Guitaut
e7aed00674 Use our own image to wait for services 2015-09-24 11:52:08 +02:00
Loïc Guitaut
6fee13a05d Fix wrong version check on docker wait image 2015-09-22 16:04:33 +02:00
Loïc Guitaut
eae953c6e3 Add checks for all docker images in install hook 2015-09-21 14:20:44 +02:00
Loïc Guitaut
2a9f715eed Use aanand/wait image to wait for service to be ready 2015-09-09 17:30:14 +02:00
Jose Diaz-Gonzalez
89fbc799e2 run linting 2015-09-06 22:36:32 -04:00
Jose Diaz-Gonzalez
d1f6f64f23 Pull the ambassador image 2015-09-06 18:19:35 -04:00
Jose Diaz-Gonzalez
70d86b17f5 Remove unused iptables sudoers config 2015-09-06 18:01:41 -04:00
Jose Diaz-Gonzalez
ac50d9c37c first - broken - pass at start/stop commands and working expose/expose commands
note that at the moment the iptables calls complete successfully but the container isn't actually exposed. We'll probably need to use the ambassador pattern to do this properly.
2015-08-31 15:29:23 -04:00
Jose Diaz-Gonzalez
5736336276 Use central config for env vars 2015-08-29 01:52:55 -04:00
Jose Diaz-Gonzalez
c64b7c07be initial commit 2015-08-23 19:17:51 -04:00