crkn-rcdr / upholstery

Authorization and abstraction layer for c7a CouchDB databases
0 stars 0 forks source link

Proxy configuration #6

Closed SaschaAdler closed 4 years ago

SaschaAdler commented 4 years ago

We're adopting HAProxy for the entire access platform, and so upholstery will need to work behind it.

SaschaAdler commented 4 years ago

See https://github.com/crkn-rcdr/upholstery/commit/47ea5515eb5a1e2418a0dc3f180bd02f3ac6db9a and the new image I've pushed.

Russell can close this when we've confirmed it works in production.

RussellMcOrmond commented 4 years ago

I'm not sure what tag you used to push...

root@mamirolle:~# docker pull docker.c7a.ca/upholstery:20200214
Error response from daemon: manifest for docker.c7a.ca/upholstery:20200214 not found: manifest unknown: manifest unknown
root@mamirolle:~# docker pull docker.c7a.ca/upholstery:20200215
Error response from daemon: manifest for docker.c7a.ca/upholstery:20200215 not found: manifest unknown: manifest unknown
root@mamirolle:~# docker pull docker.c7a.ca/upholstery:20200212
Error response from daemon: manifest for docker.c7a.ca/upholstery:20200212 not found: manifest unknown: manifest unknown
root@mamirolle:~# 

I built and pushed docker.c7a.ca/upholstery:20200214

SaschaAdler commented 4 years ago

Did 20200213 not work?

Sascha Adler Lead Application Developer, CRKN


From: Russell McOrmond notifications@github.com Sent: Friday, February 14, 2020 7:27:31 AM To: crkn-rcdr/upholstery upholstery@noreply.github.com Cc: Sascha Adler sadler@crkn.ca; Assign assign@noreply.github.com Subject: Re: [crkn-rcdr/upholstery] Proxy configuration (#6)

I'm not sure what tag you used to push...

root@mamirolle:~# docker pull docker.c7a.ca/upholstery:20200214 Error response from daemon: manifest for docker.c7a.ca/upholstery:20200214 not found: manifest unknown: manifest unknown root@mamirolle:~# docker pull docker.c7a.ca/upholstery:20200215 Error response from daemon: manifest for docker.c7a.ca/upholstery:20200215 not found: manifest unknown: manifest unknown root@mamirolle:~# docker pull docker.c7a.ca/upholstery:20200212 Error response from daemon: manifest for docker.c7a.ca/upholstery:20200212 not found: manifest unknown: manifest unknown root@mamirolle:~#

I built and pushed docker.c7a.ca/upholstery:20200214

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHubhttps://github.com/crkn-rcdr/upholstery/issues/6?email_source=notifications&email_token=AGLMBCIPAXV7I6VOSMV7AK3RC2S5HA5CNFSM4KSYCZR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELZGL2A#issuecomment-586311144, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGLMBCMJERMDH5WL4HVNZSLRC2S5HANCNFSM4KSYCZRQ.

RussellMcOrmond commented 4 years ago

OK. Odd. Seems that even in what I cut-and-pasted I clearly didn't check for the right tag. Sorry for that confusion.

I've tested on Mamirolle, so can close this ticket. Will roll out on other production servers and point DNS to one (or more) of them.

BTW: Simplifying the apps by putting the https check in HAproxy is a much better idea than what I was thinking.