add devops folder to show how to easily run on a server

This commit is contained in:
Roman Shtylman
2014-12-11 10:54:53 -08:00
parent dd7d8d6aa6
commit 57ebcc90e1
4 changed files with 103 additions and 65 deletions

5
devops/run.sh Normal file
View File

@@ -0,0 +1,5 @@
#!/bin/bash
docker run --restart always --name localtunnel -d --net host defunctzombie/localtunnel-server:0.0.5 bin/server --secure --port 2000
docker run --restart always --name nginx -d --net host -v /home/core/nginx/nginx.conf:/etc/nginx/nginx.conf -v /home/core/nginx/sites:/etc/nginx/sites -v /home/core/nginx/ssl:/etc/nginx/ssl nginx:1.7.8