-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding bash scripts for docker, websocket using wss and file upload o…
…n https, still getting 400 error on exhibit add_image
- Loading branch information
root
committed
May 18, 2020
1 parent
8915cef
commit 8744690
Showing
4 changed files
with
35 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
docker build -t blini . | ||
docker run -d -p 80:80 -p 443:443 \ | ||
--name nginx-proxy \ | ||
-v $HOME/certs:/etc/nginx/certs:ro \ | ||
-v /etc/nginx/vhost.d \ | ||
-v /usr/share/nginx/html \ | ||
-v /var/run/docker.sock:/tmp/docker.sock:ro \ | ||
--label com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy=true \ | ||
jwilder/nginx-proxy | ||
|
||
docker run -d \ | ||
--name nginx-letsencrypt \ | ||
--volumes-from nginx-proxy \ | ||
-v $HOME/certs:/etc/nginx/certs:rw \ | ||
-v /var/run/docker.sock:/var/run/docker.sock:ro \ | ||
jrcs/letsencrypt-nginx-proxy-companion | ||
|
||
docker run -d \ | ||
--name blini \ | ||
-e '[email protected]' \ | ||
-e 'LETSENCRYPT_HOST=blini.apjan.co' \ | ||
-e 'VIRTUAL_HOST=blini.apjan.co' blini | ||
|
||
echo "🐳 Successfully started docker 🐳" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
docker stop blini | ||
docker stop nginx-letsencrypt | ||
docker stop nginx-proxy | ||
docker rm blini | ||
docker rm nginx-letsencrypt | ||
docker rm nginx-proxy | ||
echo "🐳 Successfully stopped docker 🐳" | ||
|