Commit Graph

139 Commits

Author SHA1 Message Date
Jose Diaz-Gonzalez
af929147d7 quote docker pull call 2016-05-08 15:01:48 -04:00
Jose Diaz-Gonzalez
94d6f4cc8d fix read call 2016-05-08 15:01:42 -04:00
Jose Diaz-Gonzalez
f8022767d2 Merge pull request #67 from dokku/minor-changes
Minor changes
2016-05-08 03:48:50 -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
dbbae006e8 Quote more variables 2016-05-08 03:11:18 -04:00
Jose Diaz-Gonzalez
f93db55069 Add a dummy lsb_release command to test binaries
This should allow us to run tests on os x using the current dokku binary
2016-05-08 03:11:10 -04:00
Jose Diaz-Gonzalez
5de702ea7a Download correct version of plugn when running tests under OS X 2016-05-08 03:11:05 -04:00
Jose Diaz-Gonzalez
0d41bf2d6f Move command check before DOKKU_TRACE to reduce trace output 2016-05-08 03:10:59 -04:00
Jose Diaz-Gonzalez
93c720aeb7 quote $APP variable 2016-05-08 03:10:52 -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
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
9c9cd94832 Merge pull request #65 from dokku/upgrade-postgres
upgrade postgres to 9.5.2
2016-05-06 14:29:25 -04:00
Jose Diaz-Gonzalez
dbd2ef36c0 upgrade postgres to 9.5.2 2016-05-06 14:11:51 -04:00
Jose Diaz-Gonzalez
effff688f8 Merge pull request #64 from dokku/start-container
create container if not exists on service:start
2016-05-04 02:02:22 -04:00
Jose Diaz-Gonzalez
40d35160d3 create container if not exists on service:start 2016-05-04 01:55:56 -04:00
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