feat: add Docker deployment with HAProxy and blue-green strategy
This commit is contained in:
parent
3cfa59d3a5
commit
5be1e5add5
26 changed files with 56198 additions and 582 deletions
7
deploy/haproxy.backend.cfg
Normal file
7
deploy/haproxy.backend.cfg
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
backend ${DOMAIN}
|
||||
balance leastconn
|
||||
option httpchk GET /
|
||||
http-check expect status 200
|
||||
|
||||
http-request set-header Host ${DOMAIN}
|
||||
server-template anubis-${RELEASE_TYPE}- 1 anubis-${RELEASE_TYPE}:8080 check resolvers docker resolve-prefer ipv4 init-addr none
|
||||
Loading…
Add table
Add a link
Reference in a new issue