-
Notifications
You must be signed in to change notification settings - Fork 214
Installation
Yaroslav Pogrebnyak edited this page Apr 16, 2019
·
10 revisions
curl -s https://api.github.com/repos/yyyar/gobetween/releases | grep browser_download_url | grep linux_386 | cut -d '"' -f 4 | head -n 1 | wget -i -
curl -s https://api.github.com/repos/yyyar/gobetween/releases | grep browser_download_url | grep linux_amd64 | cut -d '"' -f 4 | head -n 1 | wget -i -
tar -zxvf *.tar.gz
cd gobetween*
vim config/gobetween.toml
sudo gobetween -c config/gobetween.toml
git clone [email protected]:yyyar/gobetween.git
make
sudo -E make install
vim /etc/gobetween.toml
gobetween -c /etc/gobetween.toml
sudo make uninstall
Pull image from public Docker Hub
docker pull yyyar/gobetween
Specify port mappings (80 docker host port to 80 container port ) and place gobetween.toml
to /path/to/gobetween.toml
docker run -p 80:80 -v /path/to/conf:/etc/gobetween/conf/:rw yyyar/gobetween
c:\path\to\gobetween -c c:\path\to\gobetween.toml