Describe the Bug
When bringing up the compose file from cht-core, I run into the following error:
haproxy | backend couch-backend2
haproxy | balance roundrobin
haproxy | server couchdb1 medic-os:5987
haproxy | [alert] 265/175822 (1) : parseBasic loaded
haproxy | [alert] 265/175822 (1) : parseCookie loaded
haproxy | [alert] 265/175822 (1) : replacePassword loaded
haproxy | [ALERT] 265/175822 (1) : parsing [/usr/local/etc/haproxy/haproxy.cfg:48] : 'server couchdb1' : could not resolve address 'medic-os'.
haproxy | [ALERT] 265/175822 (1) : parsing [/usr/local/etc/haproxy/haproxy.cfg:52] : 'server couchdb1' : could not resolve address 'medic-os'.
haproxy | [ALERT] 265/175822 (1) : Failed to initialize server(s) addr.
I need to run docker-compose up on another shell as well to bring up haproxy (no logged errors)
haproxy | frontend http-in2
haproxy | bind *:5986
haproxy | default_backend couch-backend2
haproxy |
haproxy | backend couch-backend
haproxy | balance roundrobin
haproxy | server couchdb1 medic-os:5985
haproxy |
haproxy | backend couch-backend2
haproxy | balance roundrobin
haproxy | server couchdb1 medic-os:5987
Environment
- Instance: Local docker setup
- Browser: N?A
- Client platform: MacOS Big Sur (11.6)
- Docker For Mac Version Details: v4.0.1, compose v2.0.0-rc3