File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Changelog
22
3- ## 2019-11-15 (1.8-1.4)
3+ ## 2019-11-22 (1.8-1.4)
44
5- - Fix BACKENDS_MODE typo, not reading the correct env var.
6- - Only enable /track_hosts cron when BACKENDS env var is not present. Otherwise /track_hosts cron script will overwrite and mess up our backends
7- - Only add http check option when backend is of type http, otherwise will break tcp backends.
5+ - Upgrade HAproxy to 1.8.22
6+ - Fix BACKENDS_MODE typo, set the default values of FRONTEND_MODE and BACKENDS_MODE to depend on each other
7+ - Only enable /track_hosts cron when BACKENDS and DNS_ENABLED env vars are not present.
8+ - Only add http check option when backend is of type http.
89
910## 2018-11-21 (1.8-1.3)
1011
Original file line number Diff line number Diff line change 1- FROM haproxy:1.8.14
1+ FROM haproxy:1.8.22
22LABEL maintainer="EEA: IDM2 A-Team <eea-edw-a-team-alerts@googlegroups.com>"
33
44RUN apt-get update \
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ your non-related EEA projects.
1313
1414### Stable and immutable tags
1515
16- - ` :1.8-1.3 ` [ * Dockerfile* ] ( https://github.com/eea/eea.docker.haproxy/tree/1.8-1.3 /haproxy/Dockerfile ) - HAProxy: ** 1.8** Release: ** 1.3**
16+ - ` :1.8-1.4 ` [ * Dockerfile* ] ( https://github.com/eea/eea.docker.haproxy/tree/1.8-1.4 /haproxy/Dockerfile ) - HAProxy: ** 1.8** Release: ** 1.3**
1717
1818See [ older versions] ( https://github.com/eea/eea.docker.haproxy/releases )
1919
Original file line number Diff line number Diff line change 1010
1111FRONTEND_NAME = os .environ .get ('FRONTEND_NAME' , 'http-frontend' )
1212FRONTEND_PORT = os .environ .get ('FRONTEND_PORT' , '5000' )
13- FRONTEND_MODE = os .environ .get ('FRONTEND_MODE' , ' http' )
13+ FRONTEND_MODE = os .environ .get ('FRONTEND_MODE' , os . environ . get ( 'BACKENDS_MODE' , ' http') )
1414BACKEND_NAME = os .environ .get ('BACKEND_NAME' , 'http-backend' )
1515BALANCE = os .environ .get ('BALANCE' , 'roundrobin' )
1616SERVICE_NAMES = os .environ .get ('SERVICE_NAMES' , '' )
2020STATS_AUTH = os .environ .get ('STATS_AUTH' , 'admin:admin' )
2121BACKENDS = os .environ .get ('BACKENDS' , '' ).split (' ' )
2222BACKENDS_PORT = os .environ .get ('BACKENDS_PORT' , '80' )
23- BACKENDS_MODE = os .environ .get ('BACKENDS_MODE' , 'http' )
23+ BACKENDS_MODE = os .environ .get ('BACKENDS_MODE' , FRONTEND_MODE )
2424LOGGING = os .environ .get ('LOGGING' , '127.0.0.1' )
2525LOG_LEVEL = os .environ .get ('LOG_LEVEL' , 'notice' )
2626TIMEOUT_CONNECT = os .environ .get ('TIMEOUT_CONNECT' , '5000' )
You can’t perform that action at this time.
0 commit comments