This is your own 1st party server for storing analytics of your websites, thanks to AesirX Analytics.
Technically, will need Docker Compose for running the AesirX 1st Party Server Docker image, that will store your website analytics data in a MongoDB server (included in the Docker Compose file).
- Docker.
- Docker Compose. Setup instructions
You can also specify your own MongoDB server for storing analytics. MongoDB 6.x is required.
- Clone the
aesirx-1stparty.env.dist
file intoaesirx-1stparty.env
and customize- You can choose not to customize anything.
- If you have a separate MongoDB server, you can specify the credentials using the following variables:
- DBUSER
- DBPASS
- DBHOST
- DBPORT
- DBNAME
- You can choose to change the HTTP_PORT variable (default 80). Please keep in mind that this port is the one inside the container, so it's a beter idea if you don't change it.
- Add your SoP ID after variable WHITELIST_WEB3ID=@your
- Clone the
.env.dist
file into.env
and customize.- You can customize your ports:
- HTTP_PORT: published port of the server. If you want your server to listen to a different port, this is the configuration that you need to change.
- MONGO_PORT: published port for MongoDB
- You can customize your DB settings (they need to be the same as in the
aesirx-1stparty.env
file).- MONGO_INITDB_ROOT_USERNAME
- MONGO_INITDB_ROOT_PASSWORD
- MONGO_INITDB_DATABASE
- You can customize your ports:
- Execute
docker compose up -d
to run the full setup, including the MongoDB server.