This repository contains an example of installation and running Tarantool Cartridge
application on openSuse Leap 15.2
.
File install-tarantool-cartridge.sh
contains commands that install libraries required for Tarantool compilation from
source code, compile Tarantool binaries (tarantool
and tarantoolctl
), and
install Tarantool Cartridge framework using LuaRocks
.
In docker-compose.yml
, there are four docker-containers based on an image defined in Dockerfile
. Each container
handles Tarantool Cartridge application, started with different parameters (see cartridge-app/instances.yml
):
three custom applications and one - coordinator, that may be used for failover settings.
The source code of the demo application is in cartridge-app
directory.
To start all containers use
docker-compose up
After starting docker-containers, you can visit http://localhost:8081 and see Tarantool Cartridge Admin Web UI.