Commit Graph

41 Commits

Author SHA1 Message Date
Jose Diaz-Gonzalez
03e4c519f1 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
0c04ad8dcb refactor: use namespaced docker commands for interacting with the docker binary 2023-02-07 03:39:42 -05:00
Jose Diaz-Gonzalez
d5a4cddc3f chore: run shfmt 2022-07-25 01:15:32 -04:00
Jose Diaz-Gonzalez
4696033532 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
c22a2c5bca fix: always chown the image files 2022-02-03 10:30:27 -05:00
Jose Diaz-Gonzalez
0d4a6bc320 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
7ca7c20ef8 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:41 -04:00
Jose Diaz-Gonzalez
1afdffef8d 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
dccd7e7f89 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-31 01:36:28 -04:00
Jose Diaz-Gonzalez
7f4c06d6c0 chore: update dokku/wait version 2019-12-27 16:57:13 -05:00
Jose Diaz-Gonzalez
a5fbfe1e7a chore: update dokku/ambassador version 2019-12-27 16:55:26 -05:00
Jose Diaz-Gonzalez
da72857cad chore: update dokku/s3backup version 2019-12-27 16:53:23 -05:00
Jose Diaz-Gonzalez
f65790c5d6 chore: reorder images 2019-07-11 14:32:49 -07:00
Jose Diaz-Gonzalez
93dd4fecbb feat: update ambassador, s3backup, and wait images 2019-07-11 14:31:47 -07:00
Jose Diaz-Gonzalez
0317711a5b feat: upgrade busybox to 1.31.0-uclibc 2019-07-11 13:36:41 -07:00
Jose Diaz-Gonzalez
a9fcde1404 chore: run shfmt 2019-05-30 11:06:25 -04:00
Jose Diaz-Gonzalez
d668c50abb fix: update docker-s3backup image to fix backups to s3 2019-03-28 05:23:39 -04:00
Jose Diaz-Gonzalez
c105f97ed5 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
33fbe15fc6 feat: update to latest dokku/s3backup image 2019-03-25 13:47:03 -04:00
Jose Diaz-Gonzalez
181a1a18fa feat: switch to updated wait image 2019-03-25 12:46:42 -04:00
Jose Diaz-Gonzalez
b74cb9cc9f feat: switch to updated ambassador image 2019-03-25 12:46:01 -04:00
Jose Diaz-Gonzalez
8a9efd8f62 refactor: allow usage of the same variable to disable docker pulls 2018-04-23 06:56:51 -04:00
Jose Diaz-Gonzalez
bd2e292e1e feat: use custom env var to disable pull actions 2018-04-11 15:11:58 -04:00
Jose Diaz-Gonzalez
f107265e3b feat: prepare ground for config directory changes 2017-09-11 03:53:05 -04:00
Jose Diaz-Gonzalez
8a598e3c15 feat: Adds possibility to set encryption for s3 2017-09-09 14:29:09 -04:00
Jose Diaz-Gonzalez
40db029130 Adds parameters to backup-auth for region support and non AWS endpoint support
Refs dokku/dokku-mariadb#61
2017-08-26 00:10:42 -04:00
Jose Diaz-Gonzalez
3038d575c8 fix: use updated dokkupaas/s3backup image to fix backup issues. Closes #109 2017-04-13 19:03:47 -06:00
Jose Diaz-Gonzalez
3d9fa6af9f feat: enable uploading backups to any region 2017-03-21 08:32:48 -06:00
Raphaël Valyi
7980c43d10 complete sudoer file with chmod 2017-02-17 12:48:58 -02:00
Jose Diaz-Gonzalez
cba4a7f0cd feat: add s3 backup support 2016-10-31 11:39:31 -06:00
Jose Diaz-Gonzalez
c418c9f69c Make install hook quiet when there is nothing to do 2016-08-28 02:04:51 -04:00
Jose Diaz-Gonzalez
f2b66e8142 use grep -q when checking for docker images 2016-05-08 03:11:24 -04:00
Jose Diaz-Gonzalez
543fdaa633 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-08 03:10:41 -04:00
Loïc Guitaut
a6da4ea218 Use our own image to wait for services 2015-09-24 11:47:11 +02:00
Loïc Guitaut
16e6f0899c Fix wrong version check on docker wait image 2015-09-22 16:03:13 +02:00
Loïc Guitaut
c62b6ad05a Add checks for all docker images in install hook 2015-09-21 14:19:00 +02:00
Loïc Guitaut
1085a0a01f Use aanand/wait image to wait for service to be ready 2015-09-09 18:21:04 +02:00
Jose Diaz-Gonzalez
ac2652fd92 make test 2015-09-06 22:53:02 -04:00
Jose Diaz-Gonzalez
2bc4c534b8 Properly implement port expose/unexpose 2015-09-06 22:10:16 -04:00
Jose Diaz-Gonzalez
972af5b984 Use central config for env vars 2015-08-29 01:53:34 -04:00
Jose Diaz-Gonzalez
e344e35144 initial commit 2015-08-23 18:56:23 -04:00