From effb1bc18fe6d776b8eac7ba1496336aa6d4d496 Mon Sep 17 00:00:00 2001
From: Mathieu ANCELIN Otoroshi provides a command line tool to command Otoroshi instances. First, download the Otoroshi CLI depending on your operating system : first, download the Otoroshi CLI depending on your operating system The documentation is not written yet, but you can explore the cli usage using the help flag Rust CLI
Download
-wget -q --show-progress https://dl.bintray.com/maif/binaries/linux-otoroshicli/latest/otoroshicli
+
wget -q --show-progress https://dl.bintray.com/maif/binaries/linux-otoroshicli/1.0.0/otoroshicli
# or if you use linux
-wget -q --show-progress https://dl.bintray.com/maif/binaries/mac-otoroshicli/latest/otoroshicli
+wget -q --show-progress https://dl.bintray.com/maif/binaries/mac-otoroshicli/1.0.0/otoroshicli
# or if you use windows
-wget -q --show-progress https://dl.bintray.com/maif/binaries/win-otoroshicli/latest/otoroshicli.exe
+wget -q --show-progress https://dl.bintray.com/maif/binaries/win-otoroshicli/1.0.0/otoroshicli.exe
Usage
-h
https://github.com/MAIF/otoroshi/releases or get it from our bintray repository :
and get the last version of the otoroshi-x.x.x.zip
file or otoroshi-x.x.x.jar
file.
and get the last version of the otoroshi-dist.zip
file or otoroshi.jar
file
docker pull maif-docker-docker.bintray.io/otoroshi
-then just run it :
-docker run -p "8080:8080" otoroshi
-
-you can also pass useful args like :
-docker run -p "8080:8080" otoroshi -Dconfig.file=/home/user/otoroshi.conf -Dlogger.file=./home/user/otoroshi.xml
-
-If you want to provide your own config file, you can read the documentation about config files
-You can also provide some ENV variable using the --env
flag to customize your Otoroshi instance, the list of possible ENV variables is available here.
You can use a volume to provide configuration like :
-docker run -p "8080:8080" -v "/home/user/oto/conf:/usr/app/otoroshi/conf" otoroshi
-
-You can also use a volume if you choose to use leveldb
datastore like :
docker run -p "8080:8080" -v "/home/user/oto/data:/usr/app/otoroshi/leveldb" otoroshi -Dapp.storage=leveldb
+you can also choose a specific version
+docker pull maif-docker-docker.bintray.io/otoroshi:1.0.0
+docker pull maif-docker-docker.bintray.io/otoroshi:latest