I have setup 3 docker containers with eventstore with the following docker-comppose extract:
…
eventstore:
image: eventstore/eventstore
ports:
-
1112:1112
-
1113:1113
-
2112:2112
-
2113:2113
environment:
-
EVENTSTORE_CLUSTER_SIZE=3
-
EVENTSTORE_CLUSTER_DNS=172.20.0.1
networks:
-
esnet
-
default
eventstore1:
image: eventstore/eventstore
environment:
-
EVENTSTORE_CLUSTER_SIZE=3
-
EVENTSTORE_CLUSTER_DNS=172.20.0.1
networks:
- esnet
eventstore2:
image: eventstore/eventstore
environment:
-
EVENTSTORE_CLUSTER_SIZE=3
-
EVENTSTORE_CLUSTER_DNS=172.20.0.1
networks:
- esnet
networks:
default:
esnet:
driver: bridge
ipam:
driver: default
config:
- subnet: 172.20.0.0/16
…
Navigating to http://localhost:2113/web in the browser opens the login page, but after entering default credentials, it is denied and the browser also show its login dialog. Credentials are not accepted. What could be wrong here. Having only one node in docker works fine with web ui.