Commit Graph

178 Commits

Author SHA1 Message Date
Mark Wotton
cc9553d3bd spelling fix for Forgeting 2015-07-13 14:22:33 -04:00
Christopher Reichert
a2eee4ed23 Merge pull request #107 from creichert/master
Change default connection time bound calculation from 5s to 5min.
2015-06-30 12:12:34 -05:00
Christopher Reichert
4874184716 Calculate connection-time-bound microseconds before passing to reverse proxy.
The connection-time-bound is configured by the user as milliseconds but
eventually passed to the 'System.Timeout.Lifted.timeout' function which
accepts microseconds. Added commentary at usage sites.
2015-06-29 21:34:23 -05:00
Bryan Richter
214ceadb32 Better comments and placement for getForwardedEnv 2015-06-29 12:32:28 -07:00
Bryan Richter
d51409c14e read forward-env and kconfigEnvironment in launchBackgroundApp 2015-06-29 11:32:40 -07:00
Bryan Richter
54bf1d3845 Add support for forward-env in BackgroundConfig 2015-06-29 11:31:52 -07:00
Christopher Reichert
9781b49451 Merge pull request #105 from bermanjosh/remote-postgres
Remote postgres
2015-06-17 11:45:31 -05:00
Josh Berman
2c157660d4 no sudo command for remote DB host 2015-06-16 18:38:38 +03:00
Josh Berman
69b77a70e5 different commands for remote and local DB server, version bump, readme 2015-06-14 11:50:35 +03:00
Josh Berman
95503ad1f4 support remote-server sytax in keter.yaml file, update README 2015-06-14 10:58:15 +03:00
Josh Berman
2dd22abdf8 Added DBServerInfo type and instances. Accounted for plugins: postgres stanza containing array or bool. 2015-06-10 17:22:46 +03:00
Bryan Richter
71e557b31c Appease redundant import warnings 2015-06-08 10:21:10 -07:00
Marcin Tolysz
5360da1c80 update for updated reverse proxy 2015-05-18 13:23:30 +01:00
Marcin Tolysz
3565237a5d Add configurable timeouts
Add middleware to reverse proxy
2015-05-18 13:23:30 +01:00
Michael Snoyman
85aecc2c51 Avoid infinite loop traversing incoming directory #96 2015-05-17 10:00:00 +03:00
Michael Snoyman
3f0286f92e Use system-filepath, but only to interact with fsnotify 2015-05-12 15:24:53 +03:00
Michael Snoyman
8aae29fa1b Incomplete: no system-filepath 2015-05-12 13:01:58 +03:00
Michael Snoyman
491ace549e Fix five minutes (thanks @tolysz) 2015-05-03 19:57:14 +03:00
Артур Файзрахманов
e9f17f5d5c Apply stylish-haskell 2015-05-03 20:10:28 +05:00
Артур Файзрахманов
4b18a16645 Apply hlint suggestions 2015-05-03 20:10:27 +05:00
Артур Файзрахманов
fe94faaeac Make use of connection time bound
Extend `reverseProxy` and `withClient` function with additional time
bound parameter.
Pass time bound from app configuration when running reverse proxies.
2015-05-03 20:10:22 +05:00
Артур Файзрахманов
f74a95a852 Extended config data types with time bound option
Implemented connection time bound option for both V04 and V10
configurations, default value is set to 5000ms.
2015-05-03 20:10:15 +05:00
Rémi Vion
77a91988dd apply hlint suggestions 2015-04-08 09:33:48 +02:00
Rémi Vion
10ce40014b lowercase postgres db name generated from app name 2015-04-08 09:33:28 +02:00
Yitzchak Gale
9f1e52b736 Support chain certificates. 2015-03-09 22:48:47 +02:00
Marcin Tolysz
bcfbbede26 Allow incoming folder to contains subfolders
I need it to sanely set up git-annex to sync files to my remote servers.
where some folders be shared between all my servers and some will be just for that particular one.
2015-01-30 22:33:25 +00:00
Christopher Reichert
ee1fd1542c Add Hspec tests for LabelMap.
Additional support for #72.
2015-01-30 14:02:05 -06:00
Marcin Tolysz
92ac69b824 https://github.com/snoyberg/keter/issues/72
I did not test all other cases, but the one mentioned works now
2015-01-30 09:30:17 +00:00
Christopher Reichert
f81556b569 Remove unused DeriveTypeable extension. 2015-01-11 11:42:59 -06:00
Christopher Reichert
a9aec4a71e Remove redundant language extensions. 2015-01-09 13:39:30 -06:00
Christopher Reichert
7aac6c25fd Remove redundant headers in Keter.App. 2015-01-09 13:39:30 -06:00
Michael Snoyman
308deed377 Catch exceptions during reload #64 2014-12-18 08:07:45 +02:00
tolysz
2f479a768d Update Middleware.hs
uncomment AddHeaders
2014-12-16 09:04:52 +00:00
tolysz
1c51855194 Update Proxy.hs
fixed in wai-static
2014-12-15 17:25:11 +00:00
Marcin Tolysz
b252426d56 Make config saner 2014-12-12 17:02:20 +00:00
Marcin Tolysz
0d8db950a0 Adding the ability to use Middleware 2014-12-12 16:09:07 +00:00
Michael Snoyman
0a4a9a6cda Merge branch 'forward-env-vars' of https://github.com/mulby/keter 2014-11-15 19:44:31 +02:00
Christopher Reichert
c8bf92b412 Fix warnings in build.
* In Keter.Proxy explicitly import Default typeclass.
* Remove unused qualified Text impot in Keter.Types.V04.
2014-11-14 15:37:18 -06:00
Gabe Mulley
9e9fca314f Forward environment variables from the shell that executes keter
It is often convenient to store secrets in environment variables on the host system. This patch allows those secrets to be passed along to the sub processes executed by keter.
2014-11-14 15:53:12 -05:00
Michael Snoyman
d61f9d10ea More correct fix for previous commit 2014-11-07 02:05:49 +02:00
Michael Snoyman
84376b75bd Partial workaround for keter.yaml files that give a port with the hostname. 2014-11-07 01:33:33 +02:00
Michael Snoyman
0c2a4b8a22 Fix typos (thanks @tolysz) 2014-10-20 20:17:29 +03:00
Michael Snoyman
59a3569375 Some env cleanups 2014-10-20 08:34:54 +03:00
Michael Snoyman
0d96b41bcf Merge pull request #51 from tolysz/keter-env
Add global setting per Keter global envoriment
2014-10-20 08:30:10 +03:00
Michael Snoyman
51c1fe3a27 Force redirect to https #39 2014-10-20 08:26:24 +03:00
Marcin Tolysz
9ce577acce Add global setting per Keter global envoriment, which will be passed to all children processes 2014-10-19 20:18:52 +01:00
Michael Snoyman
b381d6309f Lookup apps by hostname, not port #44 2014-09-21 13:00:20 +03:00
Michael Snoyman
3adefc102f Case insensitive hostname lookup 2014-09-21 10:42:26 +03:00
Michael Snoyman
b4c19a17e1 external-http(s)-port setting #44 2014-09-21 01:24:41 +03:00
Christopher Reichert
c17e4b013f Test for alternative yaml file extensions when loading
keter config.

Issue #41.
2014-08-13 21:23:13 -05:00