Skip to content

Commit 5770c33

Browse files
committed
add stop and remove stop from testing
1 parent 99443ad commit 5770c33

File tree

3 files changed

+20
-8
lines changed

3 files changed

+20
-8
lines changed

bin/ssl_test.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,6 @@ fi
2525
# Read your .env file
2626
source ./../.env
2727

28-
# Stop if test is running
29-
docker stop test-web
30-
docker rm test-web
31-
3228
# Testing your proxy
3329
docker run -d -e VIRTUAL_HOST=$DOMAIN -e LETSENCRYPT_HOST=$DOMAIN --network=$NETWORK --rm --name test-web httpd:alpine
3430

bin/stop.sh

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#!/bin/bash
2+
3+
#-----------------------------------------------------------------------
4+
#
5+
# test-proxy script - testing nginx-proxy
6+
#
7+
# https://github.com/evertramos/nginx-proxy-automation
8+
#
9+
# Script developed by
10+
# Evert Ramos <[email protected]>
11+
#
12+
# Copyright Evert Ramos
13+
#
14+
#-----------------------------------------------------------------------
15+
16+
# Stop if test is running
17+
docker stop test-web
18+
docker rm test-web
19+
20+
exit 0

bin/test.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,6 @@ fi
2525
# Read your .env file
2626
source ./../.env
2727

28-
# Stop if test is running
29-
docker stop test-web
30-
docker rm test-web
31-
3228
# Testing your proxy
3329
docker run -d -e VIRTUAL_HOST=$DOMAIN --network=$NETWORK --rm --name test-web httpd:alpine
3430

0 commit comments

Comments
 (0)