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
# For more information on configuration, see: | |
# * Official English Documentation: http://nginx.org/en/docs/ | |
# * Official Russian Documentation: http://nginx.org/ru/docs/ | |
user nginx; | |
worker_processes auto; | |
error_log /var/log/nginx/error.log; | |
#error_log /var/log/nginx/error.log notice; | |
#error_log /var/log/nginx/error.log info; |
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
# For Logs | |
logs/ | |
*.log | |
## Directory-based project format: | |
.idea/ | |
### WebStorm ### | |
*.iml | |
# Logs | |
logs |
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
#!/bin/bash | |
# Updates all EC2 instances from git | |
# Author: [email protected] | |
CODE_LOCATION=/var/www/your_project | |
SERVER_PREFIX=your_project | |
# exit if something fails | |
set -e |
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
#!/bin/sh | |
# Description: Written while working in Macbook | |
# color for bash | |
RED='\033[0;31m' | |
NC='\033[0m' # No Color | |
echo "Wait.... I am Testing Your code!" | |
# for Testing | |
pwd && ls |
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
version: '3.5' | |
services: | |
mysql: | |
container_name: mysql-local | |
image: mysql:5.7 | |
ports: | |
- "3306:3306" | |
environment: | |
MYSQL_ROOT_PASSWORD: <pass123> |