Commit Graph

62 Commits

Author SHA1 Message Date
Jose Diaz-Gonzalez
16fabc4e9a fix: add missing argument to backup subcommand help output 2017-08-26 05:21:24 -04:00
Jose Diaz-Gonzalez
590f4d1cda fix: call -rf in the proper order 2017-08-26 05:04:51 -04:00
Jose Diaz-Gonzalez
989c44baae Merge branch 'master' into master 2017-08-26 04:57:31 -04:00
Jose Diaz-Gonzalez
de384d09b9 feat: upgrade plugn 2017-08-26 04:23:53 -04:00
Jose Diaz-Gonzalez
15c38e9578 Merge branch 'master' into master 2017-08-26 03:46:47 -04:00
Jose Diaz-Gonzalez
462ccbc510 Merge pull request #112 from reitermarkus/master
Upgrade to 9.6.4
2017-08-26 03:37:08 -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
Markus Reiter
48e07370e3 Upgrade to 9.6.4 2017-08-17 20:20:47 +02:00
Jordan Sitkin
0a9d80e344 add --use-iam flag to backup 2017-05-01 16:31:54 -07:00
Josh
2ef3bdb9eb Update README.md 2017-03-21 21:35:15 -04:00
Josh
dce9201d89 remove wise crack 2017-03-21 21:33:34 -04:00
Josh
78e0e86a41 Document config files 2017-03-21 19:45:37 -04:00
Jose Diaz-Gonzalez
5fdf96aa49 Merge pull request #90 from sonicdoe/upgrade-downgrade-readme
Improve upgrade/downgrade example in README.md
2016-12-04 14:34:24 -07:00
Jakob Krigovsky
b1b5eb5711 Improve upgrade/downgrade example 2016-12-04 16:22:49 +01: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
aace098e40 docs: add note regarding setting the cron-schedule 2016-11-24 16:08:58 -07:00
Chris Dyer
8ee7863d87 FIx cron example mistake 2016-11-24 11:42:06 +00:00
Chris Dyer
7341a03ff1 Fix README discrepancy 2016-11-19 11:11:39 +00:00
Jose Diaz-Gonzalez
34f6990f57 Use blockquote 2016-11-06 14:31:17 -07:00
Jose Diaz-Gonzalez
4d78cd7549 Make username a link 2016-11-06 14:29:43 -07:00
Jose Diaz-Gonzalez
2fb6048729 Add not regarding support S3 region for backups. Refs dokku/dokku-mysql#66 2016-11-06 14:24:25 -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
d7cf4ab1b8 Fix help output for enter command 2016-08-29 09:45:26 -04:00
Jose Diaz-Gonzalez
02316598de Add the ability to enter a running container 2016-08-29 08:19:56 -04:00
Jose Diaz-Gonzalez
e569843acd Add --service-root flag to info command 2016-08-29 05:53:51 -04:00
Jose Diaz-Gonzalez
cc0cfca7fe Add --internal-ip flag to info command 2016-08-28 23:24:27 -04:00
Jose Diaz-Gonzalez
69944871da Add --id flag 2016-08-28 17:56:10 -04:00
Jose Diaz-Gonzalez
470840739d Add support for flags on the service:info command 2016-08-28 05:34:55 -04:00
Jose Diaz-Gonzalez
1a598944df Update docker image 2016-08-27 16:28:13 -04:00
Jose Diaz-Gonzalez
44a790da74 add sudo to command
consistency with http://dokku.viewdocs.io/dokku~v0.6.3/application-deployment/#create-the-backing-services
2016-08-26 23:32:18 -04:00
Jose Diaz-Gonzalez
78fcca6896 Add testing for all supported versions of dokku
Also drop support for 0.3.x
2016-05-08 03:10:15 -04:00
Jose Diaz-Gonzalez
dbd2ef36c0 upgrade postgres to 9.5.2 2016-05-06 14:11:51 -04:00
Jose Diaz-Gonzalez
23d10ad09c Read POSTGRES_DATABASE_SCHEME variable from app when setting DATABASE_URL 2016-04-19 14:51:53 -04:00
Jose Diaz-Gonzalez
cd5987342c Merge pull request #54 from dokku/version-upgrade
Upgrade image version to 9.5.0
2016-01-17 01:52:42 -05:00
Jose Diaz-Gonzalez
ecb9a7c7b6 Upgrade image version to 9.5.0 2016-01-17 01:43:34 -05:00
Loïc Guitaut
e4583f41ff Merge pull request #48 from dokku/lg-secure-connection
Enable SSL for connections to database
2015-12-07 17:48:14 +01:00
Loïc Guitaut
3441be809d Enable SSL for connections to database
Since the database can be exposed to the outer world, it seems better to
have an encrypted connection to it.
We automatically generate a self-signed certificate since it's only used
to encrypt the connection but one can easily replace it by a custom one,
just overwrite `server.crt` and `server.key` in the
/var/lib/dokku/services/postgres/DB_NAME/data directory.
2015-12-07 11:16:07 +01:00
Jose Diaz-Gonzalez
f9dcf96ead Document unlink command 2015-12-01 16:31:20 -05:00
Jose Diaz-Gonzalez
bdc21d9b13 clarify docs around setting custom env variables 2015-11-05 00:53:26 -05:00
Jose Diaz-Gonzalez
74ae1b5683 Merge pull request #40 from mcolyer/allow-postgres-restore
Allow use of postgres images with wal-e
2015-11-05 00:43:42 -05:00
Matt Colyer
6c6b040f4a Rename to DOCKER_CUSTOM_ENV 2015-11-04 17:38:49 -08:00
Matt Colyer
50f980ce03 Switch to POSTGRES_DOCKER_ARGS variable
Previously extra command line arguments were passed after the command,
based on the discussion in https://github.com/dokku/dokku-postgres/pull/40,
it was agreed that using a single environment variable was more clear.
2015-11-02 21:05:41 -08:00
Sam Clarke
d0a00c5a82 update README.md -> <file> arg for export command 2015-10-29 12:29:28 -07:00
Matt Colyer
3c1c8f9e80 Pass environment variables to docker container
This change allows arbitrary environment variables to be passed to the
underlying docker container. Useful when using postgres docker
containers which allow for additional configuration on top of the
official postgres image.

See https://github.com/mcolyer/docker-postgres-wale for an example.
2015-10-26 21:05:53 -07:00
Loïc Guitaut
5db9586aee Update README about docker env var 2015-10-21 16:17:36 +02: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
e09d8626b6 Update README.md
Add a note explaining how to examine the environment variables (through `dokku run my-app env` rather than `dokku config my-app`)
2015-09-24 12:06:44 -04:00
Jose Diaz-Gonzalez
c6dd00da0d Update installation documentation 2015-09-22 12:07:30 -04:00