Jose Diaz-Gonzalez
99f5870b5c
Merge pull request #51 from dokku/47-dash-names
...
Escape dashed names for older versions of mysql
2016-05-04 02:20:49 -04:00
Jose Diaz-Gonzalez
47398f84d6
Escape dashed names for older versions of mysql
...
Closes #47
Closes #48
2016-05-04 02:12:51 -04:00
Jose Diaz-Gonzalez
cdff02310f
Merge pull request #50 from dokku/start-container
...
create container if not exists on service:start
2016-05-04 01:33:37 -04:00
Jose Diaz-Gonzalez
54e24ab582
create container if not exists on service:start
2016-05-04 01:01:30 -04:00
Jose Diaz-Gonzalez
56acdf94df
Merge pull request #49 from treythomas123/master
...
Automatically pull image if it's not already downloaded
2016-04-18 20:48:44 -04:00
Trey Thomas
604935e0bf
Automatically pull image if it's not already downloaded
2016-04-18 16:45:37 -06:00
Jose Diaz-Gonzalez
85ef12c9aa
Merge pull request #41 from petewest/database_adapter
...
Read MYSQL_DATABASE_SCHEME variable from app when setting DATABASE_URL
2016-03-19 15:57:52 -04:00
Peter West
d1a1450b48
Rename DATABASE_SCHEME to MYSQL_DATABASE_SCHEME
2016-03-19 10:17:48 +00:00
Peter West
90791f536a
Change DATABASE_ADAPTER to DATABASE_SCHEME
2016-03-08 09:03:20 +00:00
Peter West
ab7cc8c1a1
Use config_get from config functions
2016-03-04 12:37:02 +00:00
Peter West
9b33bf1c53
Update README to show setting var on the app correctly
2016-03-04 12:37:02 +00:00
Peter West
b7b25c91a0
Read DATABASE_ADAPTER variable from app when setting DATABASE_URL
2016-03-04 12:37:02 +00:00
Jose Diaz-Gonzalez
cdd357b058
Merge pull request #43 from ebeigarts/export-fix
...
Fix exit code for mysql:export when SSH_TTY is not present
2016-02-25 01:34:36 -05:00
Edgars Beigarts
33b233aca0
Fix exit code for mysql:export when SSH_TTY is not present
2016-02-24 09:25:31 +02:00
Jose Diaz-Gonzalez
fadda9c5e2
Ignore .vagrant directory
2016-01-17 21:40:13 -05:00
Jose Diaz-Gonzalez
ce4f7f3d40
Upgrade plugn
2016-01-17 21:37:50 -05:00
Jose Diaz-Gonzalez
c7700f2715
Add vagrant setup for local testing
2016-01-17 21:34:39 -05:00
Jose Diaz-Gonzalez
c555863d7a
Remove invalid service directory during command runs
...
Refs dokku/dokku-mariadb#30
2016-01-17 21:29:44 -05:00
Jose Diaz-Gonzalez
2cd668e1b5
Upgrade testing environment to trusty
2016-01-17 21:27:26 -05:00
Jose Diaz-Gonzalez
239665f92a
Merge pull request #40 from dokku/version-upgrade
...
Upgrade image version to 5.7.10
2016-01-17 01:53:14 -05:00
Jose Diaz-Gonzalez
d8726cc3e6
Upgrade image version to 5.7.10
2016-01-17 01:45:18 -05:00
Loïc Guitaut
70d8c8a414
Merge pull request #36 from leshik/secure_passwords
...
secure passwords
2015-12-04 16:08:56 +01:00
Alexey Zagarin
f1d589d164
secure passwords
2015-12-04 13:33:36 +03:00
Jose Diaz-Gonzalez
e1288808a6
Document unlink command
2015-12-01 16:31:19 -05:00
Loïc Guitaut
c3792595a8
Merge pull request #35 from leshik/disable_performance_schema
...
config dir & disable performance schema
2015-12-01 15:19:33 +01:00
Alexey Zagarin
ab65ac7f1f
config dir & disable performance schema
2015-12-01 15:20:01 +03:00
Jose Diaz-Gonzalez
01f24c4d4a
Merge pull request #38 from dokku/lg-fix-tests
...
Fix tests setup
2015-11-30 11:40:54 -05:00
Loïc Guitaut
f32685e809
Fix tests setup
2015-11-30 17:21:32 +01:00
Jose Diaz-Gonzalez
99e3ef6245
Merge pull request #34 from dokku/container-environment-variables
...
Add support for custom environment variables when starting a service container
2015-11-05 02:04:58 -05:00
Jose Diaz-Gonzalez
ad42950980
Add support for custom environment variables when starting a service container
2015-11-05 01:21:43 -05:00
Jose Diaz-Gonzalez
cfb9fa2499
Update README.md -> <file> arg for export command
2015-10-29 15:56:35 -04:00
Jose Diaz-Gonzalez
a7142aeb23
Merge pull request #31 from dokku/lg-update-readme
...
Update README about docker env var
2015-10-21 14:09:08 -04:00
Loïc Guitaut
fab263e0fa
Update README about docker env var
2015-10-21 16:23:10 +02:00
Jose Diaz-Gonzalez
4f73e40028
Merge pull request #30 from dokku/lg-fix-export-over-ssh
...
Fix export when using `ssh -t`
2015-10-19 06:04:50 -04:00
Loïc Guitaut
3f789ad349
Fix export when using ssh -t
2015-10-19 11:38:45 +02:00
Jose Diaz-Gonzalez
40c50f0690
Merge pull request #29 from dokku/lg-list-in-columns
...
Display infos from `list` command in columns
2015-10-13 04:38:39 -04:00
Loïc Guitaut
318c3afb03
Display infos from list command in columns
...
Also add a LINKS column to easily view which services are linked to
which apps
2015-10-13 10:29:39 +02:00
Jose Diaz-Gonzalez
26ef30670f
Merge pull request #28 from dokku/lg-fix-destroy
...
Fix the `destroy` command
2015-10-12 14:09:20 -04:00
Loïc Guitaut
d09d7cedf0
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-12 11:05:55 +02:00
Jose Diaz-Gonzalez
3f155d9b16
Merge pull request #27 from dokku/lg-revamp-link-unlink
...
Revamp link/unlink commands
2015-09-30 17:24:24 -04:00
Loïc Guitaut
13329f3e42
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_MYSQL_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-30 23:05:16 +02:00
Jose Diaz-Gonzalez
faa7fa4399
Merge pull request #26 from dokku/josegonzalez-patch-1
...
Add mysql:help command
2015-09-27 17:26:52 -04:00
Jose Diaz-Gonzalez
077d87ed58
Add mysql:help command
2015-09-27 17:18:28 -04:00
Jose Diaz-Gonzalez
f12047b78b
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:47 -04:00
Jose Diaz-Gonzalez
bbc98a4557
Merge pull request #25 from dokku/lg-fix-wait-image
...
Use our own image to wait for services
2015-09-24 11:47:20 -04:00
Loïc Guitaut
7c867da3dc
Use our own image to wait for services
2015-09-24 11:44:42 +02:00
Jose Diaz-Gonzalez
d3e3a702fc
Merge pull request #24 from dokku/josegonzalez-patch-1
...
Fix overlapping exported config
2015-09-23 15:07:41 -04:00
Jose Diaz-Gonzalez
12c7bef14c
Set MYSQL_ROOT environment variable as well
...
Since PLUGIN_DATA_ROOT is not directly overrideable anymore, we need to *also* set this env var here.
2015-09-23 15:03:37 -04:00
Jose Diaz-Gonzalez
9146dd21d3
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:37:44 -04:00
Jose Diaz-Gonzalez
1b53acf30a
Update installation documentation
2015-09-22 12:07:32 -04:00