8000 GitHub - swarmcom/deploy: Docker deployment
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

swarmcom/deploy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
< 8000 /div>
 
 
 
 
 
 

Repository files navigation

Reach3 docker deployment

Requirements

  • 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

Notes

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.

Installation

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

Setup Reach3 without https enabled

Login as user ezuce (su - ezuce, for example), and do:

cd /home/ezuce/deploy
./run.sh DOMAIN

Setup Reach3 with https and your own certificates

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

Setup Reach3 with https and LE certificates

If you want to enable HTTPS with certificates from LetsEncrypt:

cd /home/ezuce/deploy
USE_LE=your_le_email_address ./run.sh DOMAIN

Upgrading

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

About

Docker deployment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  
0