Diego Osse Fernandes
99c8bffcbf
Initial support for Docker 1.12 Swarm Mode
2016-09-27 14:21:38 -03:00
Vincent Demeester
5ea761e19f
Add possibility to use BindPort IPAddress 👼
...
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-09-20 14:52:35 +02:00
Bruce Lee
d89bdfbd27
Add backend features to docker
2016-09-14 14:51:31 -04:00
Emile Vauge
d340ccd601
Migrate to JobBackOff
2016-08-19 14:24:09 +02:00
Emile Vauge
97ddfcb17a
Use long job RetryBackoff in providers
2016-08-19 11:09:54 +02:00
Emile Vauge
11297b38c5
Remove misused Fatal*
2016-08-19 10:36:54 +02:00
Vincent Demeester
c170ddc7ae
Upgrade libkermit and dependencies
...
And use ContainerAPIClient where needed 👼
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-07-21 17:43:05 +02:00
Vincent Demeester
87a4d73556
Move version.go in its own package…
...
… making it possible to use in other packages ; and thus in the
User-Agent header for the docker client.
Also removing the dockerverion hack as it's not required anymore.
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-07-21 16:33:49 +02:00
Martin
b153e90ec5
add createStore() funcs and skip consul TLS test
2016-07-21 09:22:35 +02:00
Martin
e26e0955b3
add struct ClientTLS : supports either a paths to a file or directly the certificate
2016-07-21 09:22:35 +02:00
Martin
056e0fe2d9
Use KvStores as global config source
2016-07-21 09:22:35 +02:00
Vincent Demeester
b80479f9ef
Option to disable expose of all docker containers
...
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-07-14 11:32:15 +02:00
Vincent Demeester
a73baded88
Remove traefik.frontend.value support in docker…
...
… provider 👼 . Was deprecated in 1.0, removing it for 1.1.
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-07-13 19:28:08 +02:00
Emile Vauge
b1ecb1f61f
Use of container.HostConfig.NetworkMode to detect host mode
...
Signed-off-by: Emile Vauge <emile@vauge.com>
2016-07-05 14:11:33 +02:00
Emile Vauge
050416224d
Fix host Docker network
...
Signed-off-by: Emile Vauge <emile@vauge.com>
2016-07-05 11:29:13 +02:00
Kevin Busse
dcf98d13c8
Fix typo in error message. ( #471 )
2016-06-20 12:15:31 +02:00
Emile Vauge
56ef678c09
Fix memory leak in listenProviders
...
Signed-off-by: Emile Vauge <emile@vauge.com>
2016-06-16 22:49:57 +02:00
Samuel BERTHE
357150bcab
fix(constainrs,docker): Syntax
2016-06-11 19:06:39 +02:00
Samuel BERTHE
f7224ff403
feat(constraints): Supports constraints for docker backend
2016-06-11 19:06:39 +02:00
Vincent Demeester
f286cb9a34
Fix panic if listContainers fails…
...
… and also share context accross API call, as this is how it's meant to
be used (and it allows to skip some calls if `cancel` is called).
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-06-08 19:39:38 +02:00
Emile Vauge
f4cb4bb1b8
Add routes priorities in providers
...
Signed-off-by: Emile Vauge <emile@vauge.com>
2016-06-07 09:18:37 +02:00
Emile Vauge
92ca220890
Add groupsAsSubDomains option
...
Signed-off-by: Emile Vauge <emile@vauge.com>
2016-06-03 09:10:59 +02:00
Emile Vauge
72f88e5c0f
Add marathon directory subdomain
...
Signed-off-by: Emile Vauge <emile@vauge.com>
2016-06-03 09:10:59 +02:00
Erin Dachtler
7386378cc0
Merge branch 'master' into docker_network
2016-06-01 08:38:23 -07:00
Samuel BERTHE
1de5434e1a
refacto(constraints): Migration to Flaeg cli library
2016-06-01 10:30:34 +02:00
Samuel BERTHE
ac087921d8
feat(constraints): Implementation of constraint filtering (cmd + toml + matching functions), implementation proposal with consul
2016-06-01 10:30:34 +02:00
Erin Dachtler
df7e1cf078
Squashed commit of the following:
...
commit 468cdf5c74b8df80fe6cc093feda84d124d47460
Author: Erin Dachtler <download333@gmail.com>
Date: Mon May 30 17:21:50 2016 -0700
Documentation update
commit bcbe622141fc333579177e056b49d418997c511d
Author: Erin Dachtler <download333@gmail.com>
Date: Sat May 28 15:32:34 2016 -0700
Whoops, forgot to fmt
commit 1ad5f1052541372722adc372069da094b422c793
Author: Erin Dachtler <download333@gmail.com>
Date: Sat May 28 14:56:04 2016 -0700
Added getIPAddress helper for docker template, and tests
2016-05-31 22:11:17 -07:00
Erin Dachtler
f5d49f6657
Merge branch 'master' into no_require_expose
2016-05-28 16:36:59 -07:00
Erin Dachtler
53ae64e578
Filter containers with no exposed ports unless they have a traefik.port label
2016-05-28 15:16:57 -07:00
Martin
6752b49536
rm useless StrucTag
2016-05-27 10:06:19 +02:00
Martin
fe0a8f3363
Flaeg integration
2016-05-27 10:06:19 +02:00
Marcus Stong
be209ed30c
#216 : sets passHostHeader to true by default ( #351 )
2016-05-10 13:43:24 +02:00
Vincent Demeester
4144638be4
Support stop chan on docker provider
...
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-04-16 14:46:35 +02:00
Emile Vauge
c1078c4374
Fix races
...
Signed-off-by: Emile Vauge <emile@vauge.com>
2016-04-14 15:27:42 +02:00
Vincent Demeester
866b9835a6
Migrate traefik to engine-api
...
The docker provider now uses docker/engine-api and
vdemeester/docker-events instead of fsouza-dockerclient.
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-04-08 14:21:02 +02:00
Emile Vauge
bcc5f24c0f
Add GoSafe goroutine launch
...
Signed-off-by: Emile Vauge <emile@vauge.com>
2016-04-01 14:01:31 +02:00
Emile Vauge
d5e1d2efd5
Fix documentation
...
Signed-off-by: Emile Vauge <emile@vauge.com>
2016-03-31 16:17:59 +02:00
Emile Vauge
bb072a1f8f
Add backwards compatibility
...
Signed-off-by: Emile Vauge <emile@vauge.com>
2016-03-31 13:11:18 +02:00
Emile Vauge
8737530a7d
Refactor frontends rules
...
Signed-off-by: Emile Vauge <emile@vauge.com>
2016-03-31 13:11:07 +02:00
Emile Vauge
6e484e5c2d
add let's encrypt support
...
Signed-off-by: Emile Vauge <emile@vauge.com>
2016-03-21 20:15:28 +01:00
Emile Vauge
1881d5eeed
Transfer emilevauge/traefik to containous/traefik
...
Signed-off-by: Emile Vauge <emile@vauge.com>
2016-02-24 17:38:36 +01:00
emile
a8cc26fd91
Add entrypoints to providers
2016-02-10 12:14:16 +01:00
emile
35070f7c1c
Use of Viper and cobra
2016-01-27 13:56:46 +01:00
KM Tong
76bd04e349
Merge branch 'master' into docker-tls
2015-11-20 23:13:26 +08:00
唐家文
a8a78b8ea3
docker TLS support
2015-11-20 23:05:06 +08:00
Vincent Demeester
4d485e1b6b
Refactor providers and add tests
...
- Add a `baseProvider` struct with common
- Refactor docker, kv(s) and marathon providers (spliting into small pieces)
- Add unit tests
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2015-11-19 17:22:17 +01:00
Peter Olds
481a4b2096
Replace [ and ] in frontend names
...
Signed-off-by: Peter Olds <polds@kyanicorp.com>
2015-11-12 17:04:19 -07:00
Vincent Demeester
15318c4631
Fix docker labels (frontend.*)
...
Using Docker provider, you can specify `traefik.frontend.rule` and
`traefik.frontend.value` labels. If they are not both provided, there is
a default behavior. On the current master, if they are not defined, the
container is filtered (and thus the default behavior is broken).
Fixes that.
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2015-11-05 15:14:25 +01:00
Vincent Demeester
89bb1ae835
Linting provider package
...
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2015-11-02 21:15:03 +01:00
Vincent Demeester
cdade5f649
Rename NameProvider to Name
...
Because golint is gonna cry at some point otherwise.
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2015-11-02 19:48:34 +01:00