Commit Graph

774 Commits

Author SHA1 Message Date
Jose Diaz-Gonzalez
8eec1fb3b3 Merge pull request #63 from dokku/database-adapter
Read POSTGRES_DATABASE_SCHEME variable from app when setting DATABASE_URL
2016-04-19 15:16:07 -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
3b3bd95e68 Merge pull request #62 from treythomas123/master
Automatically pull image if it's not already downloaded
2016-04-19 10:59:21 -04:00
Trey Thomas
74b3e4f491 Fix indentation 2016-04-18 16:16:10 -06:00
Trey Thomas
14c5d5eea5 Automatically pull image if it's not already downloaded 2016-04-18 15:49:58 -06:00
Jose Diaz-Gonzalez
b257455159 Merge pull request #57 from mak-it/export-fix
Fix exit code for postgres:export when SSH_TTY is not present
2016-02-25 01:34:23 -05:00
Edgars Beigarts
b6240f7089 Fix exit code for postgres:export when SSH_TTY is not present 2016-02-21 23:35:14 +02:00
Jose Diaz-Gonzalez
1432369df4 Ignore .vagrant directory 2016-01-17 21:40:14 -05:00
Jose Diaz-Gonzalez
1881b7347d Upgrade plugn 2016-01-17 21:37:49 -05:00
Jose Diaz-Gonzalez
28155ca901 Add vagrant setup for local testing 2016-01-17 21:34:40 -05:00
Jose Diaz-Gonzalez
21cb6dbc9d Remove invalid service directory during command runs
Refs dokku/dokku-mariadb#30
2016-01-17 21:29:51 -05:00
Jose Diaz-Gonzalez
0e4a607d63 Upgrade testing environment to trusty 2016-01-17 21:27:27 -05: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
Loïc Guitaut
4e0397610b Merge pull request #46 from leshik/secure_passwords
secure passwords
2015-12-01 15:19:54 +01:00
Alexey Zagarin
4e4c5241f7 secure passwords 2015-12-01 15:22:53 +03:00
Jose Diaz-Gonzalez
425642dc5c Merge pull request #47 from dokku/lg-fix-tests
Fix tests setup
2015-11-30 11:41:35 -05:00
Loïc Guitaut
fc8bb77539 Fix tests setup 2015-11-30 17:10:41 +01:00
Jose Diaz-Gonzalez
80abdfca2a Reorder env-file argument 2015-11-05 01:22:10 -05:00
Jose Diaz-Gonzalez
bdc21d9b13 clarify docs around setting custom env variables 2015-11-05 00:53:26 -05:00
Jose Diaz-Gonzalez
d1cf7cb427 Fix reference to ENV file 2015-11-05 00:45:07 -05:00
Jose Diaz-Gonzalez
864e8123b0 Rename ENVIRONMENT to ENV
The `ENV` file name is more often used in dokku than `ENVIRONMENT`.
2015-11-05 00:44:40 -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
c68ac3be25 Fix lint failures
Also correct ; to be the proper delimiter.
2015-11-02 21:23:58 -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
Jose Diaz-Gonzalez
762f09e91f Merge pull request #41 from samgclarke/update-readme
update README.md -> <file> arg for export command
2015-10-29 15:52:51 -04:00
Sam Clarke
d0a00c5a82 update README.md -> <file> arg for export command 2015-10-29 12:29:28 -07:00
Matt Colyer
a71847cc1e Move double quote 2015-10-27 07:09:47 -07:00
Matt Colyer
0a66e18ff3 Proceed on create if the database exists
This change is useful if the container image allows for you to restore
from a backup when starting.
2015-10-26 21:07:35 -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
Jose Diaz-Gonzalez
8f392acf22 Merge pull request #39 from dokku/lg-update-readme
Update README about docker env var
2015-10-21 14:08:31 -04:00
Loïc Guitaut
5db9586aee Update README about docker env var 2015-10-21 16:17:36 +02:00
Jose Diaz-Gonzalez
4fe74b82d8 Merge pull request #37 from dokku/lg-fix-export-over-ssh
Fix export when using `ssh -t`
2015-10-16 20:16:27 -04:00
Loïc Guitaut
e6338fdf56 Fix export when using ssh -t 2015-10-17 02:00:47 +02:00
Jose Diaz-Gonzalez
2d6684d6e3 Merge pull request #35 from dokku/lg-list-in-columns
Display infos from `list` command in columns
2015-10-12 14:10:42 -04:00
Loïc Guitaut
9e37cefbbf Display infos from list command in columns
Also add a LINKS column to easily view which services are linked to
which apps
2015-10-12 12:01:48 +02:00
Jose Diaz-Gonzalez
480b6f1836 Merge pull request #34 from dokku/lg-fix-destroy
Fix the `destroy` command
2015-10-09 14:46:38 -04:00
Loïc Guitaut
b2dbd036fc Fix the destroy command
Checking for container with its service name instead of ID.
Doing a chmod 777 on `/data` before removing data from the service.
2015-10-08 23:00:21 +02:00
Jose Diaz-Gonzalez
be3fc97e82 Merge pull request #32 from mak-it/volume
Fix /var/lib/postgresql/data volume mount point
2015-10-05 10:34:33 -04:00
Edgars Beigarts
abbf0b6f3d Fix /var/lib/postgresql/data volume mount point 2015-10-05 09:49:50 +03:00
Jose Diaz-Gonzalez
9b7443b820 Merge pull request #31 from dokku/lg-better-url-check
Use complete service URL when checking config
2015-09-30 18:23:29 -04:00
Loïc Guitaut
d6cb9b6834 Use complete service URL when checking config 2015-09-30 23:52:20 +02:00
Jose Diaz-Gonzalez
5c542287a3 Merge pull request #30 from dokku/lg-unlink-on-app-destroy
Remove linked app from links file when destroying app
2015-09-30 10:56:12 -04:00
Loïc Guitaut
bb7d44f39e Remove linked app from links file when destroying app 2015-09-29 23:10:26 +02:00
Jose Diaz-Gonzalez
f1d7cea57b Merge pull request #29 from dokku/lg-fix-hostname
Replace underscore by dash in exposed hostname
2015-09-29 13:05:52 -04:00
Loïc Guitaut
f0a647053b Replace underscore by dash in exposed hostname
Fixes #28
2015-09-29 18:51:49 +02:00