Installation

Installation

Installation

Using Docker

You can use the docker image to run the database.

> docker pull allyedge/allydb
 
> docker run -p 4000:4000 allyedge/allydb

Build from source

You can also build the project from source.

> git clone https://github.com/Allyedge/allydb
 
> cd allydb
 
> mix deps.get
 
> mix compile
 
> mix release --env=prod
 
> _build/prod/rel/allydb/bin/allydb start

Environment Variables

NameDescriptionDefault
ALLYDB_PORTThe port on which the server will listen4000
PERSISTENCE_LOCATIONThe location where the database will be persistedallydb.tab
PERSISTENCE_INTERVALThe interval at which the database will be persisted3000
Last updated on April 25, 2023