- A linux server with accessible IP address (public - for https installation) or a linux server with private IP address (for http installation) able to run Docker version at least 1.9.0 (any modern would fit).
- A domain name resolving to this IP address that will serve as an UI entrance point and a SIP domain
- Installed git
Setup procedure will try to automatically detect the external IP address. Images are quite large at the moment due to dev code in the images.
Execute as root:
yum -y install curl
curl https://raw.githubusercontent.com/swarmcom/deploy/master/rhel-host-setup.sh > rhel-host-setup.sh
chmod +x rhel-host-setup.sh
./rhel-host-setup.sh
Login as user ezuce (su - ezuce
, for example), and do:
cd /home/ezuce/deploy
./run.sh DOMAIN
If you want to provide certificates on your own, then you need to place them to /home/ezuce/keys folder and name them after domain (an example):
ls ~/keys/
my_fake_domain.crt
my_fake_domain.key
And then:
cd /home/ezuce/deploy
./run.sh DOMAIN
If you want to enable HTTPS with certificates from LetsEncrypt:
cd /home/ezuce/deploy
USE_LE=your_le_email_address ./run.sh DOMAIN
Update the deploy repo with the following from the /home/ezuce/deply folder:
git pull origin master
To update login to server as root and then as user ezuce (su - ezuce
, for example), and do:
cd /home/ezuce/deploy
./run.sh DOMAIN
You may need or want to clear runtime or sql configuration, you might use env variables:
CLEAR_SQL_DB=1 CLEAR_RUNTIME_DB=1 ./run.sh DOMAIN