Commit Graph

43 Commits

Author SHA1 Message Date
Jose Diaz-Gonzalez
ef356c56de feat: enable env overrides for support images and update all to latest 2024-11-24 19:15:23 -05:00
Jose Diaz-Gonzalez
e844659f8f Merge branch 'master' into enable-image-overrides 2024-11-24 19:09:57 -05:00
indra
627ebb5ab6 feat: enable env overrides for support images
allows for support images to be pulled from alternative or private
registries.
2024-11-12 19:26:20 +11:00
Mykola Solodukha
5171614175 🚑 Use the correct version of dokku/s3backup image 2024-06-10 01:32:01 +03:00
Jose Diaz-Gonzalez
077aa4dc11 feat: respect DOKKU_LIB_HOST_ROOT for mounted data volumes
This change allows folks to change where dokku mounts data from for all official plugins, removing the need to specify the configuration on a one-off basis.

Refs dokku/dokku#5468
2022-12-26 23:49:28 -05:00
Jose Diaz-Gonzalez
90f6f1db08 feat: update all related images to add arm/arm64 support 2022-10-11 23:59:25 -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
5aea44f11c tests: refactor source again 2021-02-26 00:45:09 -05:00
Jose Diaz-Gonzalez
832a8045d5 tests: fix path to Dockerfile when sourcing config for tests 2021-02-26 00:27:52 -05:00
Jose Diaz-Gonzalez
f309f16c7b refactor: move base image reference to Dockerfile
This will allow us to take advantage of automatic update software to auto-pull new versions when they are released to docker hub.
2021-02-25 23:16:23 -05:00
Jose Diaz-Gonzalez
56f688e8aa 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
3b86072e76 feat: upgrade tertiary container images 2020-03-31 01:36:28 -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
f1bc0b0b3e feat: update patch release of postgres 2019-11-22 19:20:30 -05:00
Jose Diaz-Gonzalez
4867906243 feat: upgrade to 11.4 2019-07-11 13:24:31 -07:00
Jose Diaz-Gonzalez
67dd094d58 fix: drop now unnecessary rm call in config
This was used to delete an errant '*' service that was accidentally created during service deletion. That was fixed in dokku/dokku-redis#126 - and the respective PRs for each service - and is thus no longer necessary.

The fix was done by utilizing pushd when iterating over folders instead of trying to get a subdirectory with a partially quoted path.

Closes dokku/dokku-redis#130
2019-06-08 15:53:54 +02:00
Jose Diaz-Gonzalez
7a3e380c24 feat: upgrade image version in use 2019-04-19 12:47:38 -04:00
Jose Diaz-Gonzalez
623d125e83 feat: Real docker-based testing
This pull request switches testing to use an actual docker daemon, vs mocking everything out.

It may also catch actual breaking issues in our tests, which is great!
2019-03-18 14:44:28 -04:00
Zachary
b94af2bf3a Update to use postgres 10.4 by default 2018-07-05 01:46:13 -04:00
Jose Diaz-Gonzalez
a2b1fbb737 refactor: move unimplemented command detection into config file 2018-04-24 00:27:22 -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
759eede6d6 feat: support a separate data root for Docker bind mounts
This does not fix the :backup subcommand, which uses a temporary directory mounted to /backup.
2018-04-10 23:33:53 -04:00
dhose
cb38996dcf Upgrading PostgreSQL to version 10.2. 2018-02-14 21:07:06 +01:00
Jose Diaz-Gonzalez
15a4a0d4c1 fix: ensure we create the config directory 2017-09-11 07:13:54 -04:00
Jose Diaz-Gonzalez
f107265e3b feat: prepare ground for config directory changes 2017-09-11 03:53:05 -04:00
Markus Reiter
48e07370e3 Upgrade to 9.6.4 2017-08-17 20:20:47 +02:00
Jakob Krigovsky
fad2728129 Update PostgreSQL to v9.6.1 2016-12-04 16:18:13 +01:00
Jose Diaz-Gonzalez
b66139d6aa Merge pull request #85 from sonicdoe/update-postgres
Update PostgreSQL to v9.6.0
2016-12-03 03:31:06 -07:00
Jose Diaz-Gonzalez
cba4a7f0cd feat: add s3 backup support 2016-10-31 11:39:31 -06:00
Jakob Krigovsky
eec4c939f2 Update PostgreSQL to v9.6.0 2016-10-08 14:02:36 +02:00
Jose Diaz-Gonzalez
1a598944df Update docker image 2016-08-27 16:28:13 -04:00
Jose Diaz-Gonzalez
031f5e4e3a Only wait for a single port 2016-08-26 23:05:34 -04:00
Jose Diaz-Gonzalez
cea6c58626 Always remove * directory 2016-05-23 21:13:41 -04:00
Jose Diaz-Gonzalez
4d6a20fec4 Move setting of PLUGIN_BASE_PATH to config 2016-05-15 18:41:11 -04:00
Jose Diaz-Gonzalez
dbd2ef36c0 upgrade postgres to 9.5.2 2016-05-06 14:11:51 -04:00
Jose Diaz-Gonzalez
ecb9a7c7b6 Upgrade image version to 9.5.0 2016-01-17 01:43:34 -05:00
Loïc Guitaut
63047297ea Revamp link/unlink commands
Previously we were exporting `DATABASE_URL` via the docker-args* hooks.
This seems to confuse our users (since the env var is not displayed
when calling `dokku config`) and in some cases it also seems that the
env var is not correctly set.
Another problem is if several services are linked to the same app and
if they are exporting `DATABASE_URL` as well. Then we don’t know what
will be set.

To resolve theses issues, this patch changes the way we manage the env
vars. We use standard dokku commands (`config` and `docker-options`) so
config is set on the linked application and can be reviewed by the user
easily.
We also handle the case where `DATABASE_URL` is already set on the
linked application. When it’s the case, we automatically generate
another env var based on the following pattern: DOKKU_<service
name>_<random unused color>_URL. For example, this can give:
DOKKU_POSTGRES_BLACK_URL.

Since naming is now handled automatically, the `alias` command has been
removed. If the user wants to set a different env var on her app, it’s
just a matter of using `dokku config:set` and pasting the wanted value.

IP in DSN has been removed in favor of host name exported by docker in
the container. This is more robust and simpler since the IP can change
but the name will remain the same if the service container restarts for
instance.

With all those changes, a new command has been introduced: `promote`.
The goal of this command is to easily set a service as the primary one
when several are linked to an app. (see README for an example)
2015-09-28 18:21:52 +02:00
Jose Diaz-Gonzalez
c573398c35 Fix overlapping exported config
If using multiple official dokku datastorage plugins, it is possible to get into a case where the `PLUGIN_DATA_ROOT` would be set incorrectly for other plugins.

Refs dokku/dokku-redis#20
2015-09-23 14:38:10 -04:00
Jose Diaz-Gonzalez
b7cbb54712 Pin version to 9.4.4 2015-09-15 01:53:09 -07:00
Loïc Guitaut
fd60d30631 Use latest stable release of PostgreSQL
9.4 branch is latest stable, 9.5 is a development version.
2015-09-14 23:35:42 +02:00
Jose Diaz-Gonzalez
e0655a683d Fix tests 2015-09-07 01:01:06 -04:00
Jose Diaz-Gonzalez
2bc4c534b8 Properly implement port expose/unexpose 2015-09-06 22:10:16 -04:00
Jose Diaz-Gonzalez
e0c9f6b7f4 add central place for configuration 2015-08-29 01:51:07 -04:00