Commit e293667
Matthew Fisher
chore(controller): remove $PORT logic from fleet
For buildpack apps, [$PORT is exposed][1] as part of slugrunner's job.
For Dockerfile/Docker images, the internal port numbers are already
known to the developer, so if they want to follow 12-factor best
practices then they will have set up $PORT in their own image.
deis/publisher exposes the port with the lowest numerical value to the
router, which is why the documentation is reflected to show this.
https://github.com/deis/deis/blob/e6a078b4119887b4de73e8a6d04291b7cdeb823b/builder/image/slugrunner/Dockerfile#L10-L121 parent e6a078b commit e293667
4 files changed
Lines changed: 5 additions & 4 deletions
File tree
- controller/scheduler
- docs/using_deis
- publisher/server
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
379 | 379 | | |
380 | 380 | | |
381 | 381 | | |
382 | | - | |
| 382 | + | |
383 | 383 | | |
384 | 384 | | |
385 | 385 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| 103 | + | |
| 104 | + | |
103 | 105 | | |
104 | 106 | | |
105 | 107 | | |
| |||
109 | 111 | | |
110 | 112 | | |
111 | 113 | | |
112 | | - | |
113 | 114 | | |
114 | 115 | | |
115 | 116 | | |
| |||
0 commit comments