It seems that portal-auth DNS doesn't know anything about portal.local and api.portal.local. So I added these extra_hosts into the docker-compose.yml file under portal-auth service:
Rebuilt wicked docker containers and everything is fine!
I used the docker-compose.yml which was generated by kickstarter, without any modification.
I don't know if this error occurs when deploying to a docker host with real dns or not.
Anyway, maybe it's better to add a comment about this in the deploying docs. or even a little change in kickstarter's generated docker-compose.yml file.
Host: Debian buster x64 (kernel: 4.18.0-3-amd64) Docker: docker-ce version 18.09.0, build 4d60db4 Docker Compose: 1.22.0, build f46880fe
When deploying wicked 1.0.0 to a docker host locally (local machine without actual DNS entries), I faced with an error in all portal pages, which says:
and the screenshot:
I looked at logs of the
portal-auth
container, and found these errors:It seems that
portal-auth
DNS doesn't know anything aboutportal.local
andapi.portal.local
. So I added theseextra_hosts
into thedocker-compose.yml
file underportal-auth
service:Rebuilt wicked docker containers and everything is fine!
I used the
docker-compose.yml
which was generated bykickstarter
, without any modification.I don't know if this error occurs when deploying to a docker host with real dns or not. Anyway, maybe it's better to add a comment about this in the deploying docs. or even a little change in kickstarter's generated docker-compose.yml file.