-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove sudo from docker scripts as I have now added the current user …
…to docker group and removed DOCKER_HOST from environment variable
- Loading branch information
Showing
9 changed files
with
9 additions
and
18 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +0,0 @@ | ||
## Start of configuration add by letsencrypt container | ||
location ^~ /.well-known/acme-challenge/ { | ||
auth_basic off; | ||
allow all; | ||
root /usr/share/nginx/html; | ||
try_files $uri =404; | ||
break; | ||
} | ||
## End of configuration add by letsencrypt container | ||
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/env bash | ||
# @see https://github.com/JrCs/docker-letsencrypt-nginx-proxy-companion for available commands | ||
|
||
sudo docker-compose exec letsencrypt bash -c 'cd /app; exec "${SHELL:-sh}"' | ||
docker-compose exec letsencrypt bash -c 'cd /app; exec "${SHELL:-sh}"' |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#!/usr/bin/env bash | ||
|
||
sudo docker-compose logs -f $@ | ||
docker-compose logs -f $@ |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#!/usr/bin/env bash | ||
|
||
sudo docker-compose exec --user www php72 n98-magerun --root-dir=/home/www/naturalremedy/src $@ | ||
docker-compose exec --user www php72 n98-magerun --root-dir=/home/www/naturalremedy/src $@ |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#!/usr/bin/env bash | ||
|
||
sudo docker-compose exec mysql mysql -h127.0.1.1 -p $@ | ||
docker-compose exec mysql mysql -h127.0.1.1 -p $@ |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#!/usr/bin/env bash | ||
|
||
sudo docker-compose exec nginx bash -c 'cd /etc/nginx; exec "${SHELL:-sh}"' | ||
docker-compose exec nginx bash -c 'cd /etc/nginx; exec "${SHELL:-sh}"' |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#!/usr/bin/env bash | ||
|
||
sudo docker-compose exec -u www php72 bash -c 'cd /home/www/naturalremedy/; exec "${SHELL:-sh}"' | ||
docker-compose exec -u www php72 bash -c 'cd /home/www/naturalremedy/; exec "${SHELL:-sh}"' |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#!/usr/bin/env bash | ||
|
||
sudo docker-compose up -d --remove-orphans | ||
docker-compose up -d --remove-orphans |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/env bash | ||
|
||
sudo docker-compose stop -t0 | ||
sudo docker-compose rm -f | ||
docker-compose stop -t0 | ||
docker-compose rm -f |