EventStoreDB Install on Windows

I need to use EventStoreDB for a project in my university. So I tried to install using the documentation and the guide for Windows but unfortunately I couldn’t make it work. I installed successfully the Chocolatey, but the problem starts with the Download of the binaries and the Configuration. I tried to follow all the steps but was unsuccessful, also I tried to search on Google for a explained and detailed tutorial but couldn’t find any. Maybe I’m just dumb and in the end it’s really easy to install, I don’t know.

I hope someone can help me to install EventStoreDB on Windows, because I’m going to get really desperate.

Thank you in advance

@jjantoniov99, could you send us the details (e.g. logs etc.) of what problem are you facing?

Btw. you don’t need to install it manually. You can use Docker. It should be more straightforward to set up.

Hi, thank you for the reply.

And yeah, I’m going to share a screenshot I took with the problem, because I don’t really know how to install it properly to be honest.

Also about the other option, how can I use Docker, I’m not familiar with it.

For Docker please check: https://developers.eventstore.com/server/v21.10/installation/docker.html#run-with-docker. Docker installation and configuration instructions can be found on their website: https://docs.docker.com/desktop/windows/install/.

You can also use such docker-compose file to startup database:

version: "3"
services:
  eventstore.db:
    image: eventstore/eventstore:21.10.0-buster-slim
    environment:
      - EVENTSTORE_CLUSTER_SIZE=1
      - EVENTSTORE_RUN_PROJECTIONS=All
      - EVENTSTORE_START_STANDARD_PROJECTIONS=true
      - EVENTSTORE_EXT_TCP_PORT=1113
      - EVENTSTORE_HTTP_PORT=2113
      - EVENTSTORE_INSECURE=true
      - EVENTSTORE_ENABLE_EXTERNAL_TCP=true
      - EVENTSTORE_ENABLE_ATOM_PUB_OVER_HTTP=true
    ports:
      - '1113:1113'
      - '2113:2113'
    volumes:
      - type: volume
        source: eventstore-volume-data
        target: /var/lib/eventstore
      - type: volume
        source: eventstore-volume-logs
        target: /var/log/eventstore
    networks:
      - eventstore.db

networks:
  eventstore.db:
    driver: bridge

volumes:
  eventstore-volume-data:
  eventstore-volume-logs:

After Docker installation, you can paste that into docker-compose.yml and run:

docker-compose up

I already installed Docker for Windows. Also I executed the following command:

  1. docker run --name esdb-node -it -p 2113:2113 -p 1113:1113 eventstore/eventstore:latest --insecure --run-projections=All

Now what I have to do? It’s already done? In the Docker application I have this shown:

I don’t know what am I supposed to do next.

Thanks in advance for all your help.

Try the approach with docker-compose I suggested. It has configured the needed basic settings, like EVENTSTORE_ENABLE_ATOM_PUB_OVER_HTTP=true which is required to see the Web UI. It’s available at: http://localhost:2113/web/index.html.

You can also see logs in the console if there are no errors.

After that, I recommend playing with gRPC API: https://developers.eventstore.com/clients/grpc, which is the recommended client.

I have the file that you mentioned to me before, “docker-compose.yml”. The thing is, I don’t know where to put it and also I don’t know where should I execute the command “docker-compose up.”

Thank you in advance.

It doesn’t matter much where you put it. I usually keep it at the root of the project folder. Please refer for more details to docker-compose documentation: https://docs.docker.com/compose/.