Skip to content

Commit

Permalink
Refacto folder name
Browse files Browse the repository at this point in the history
  • Loading branch information
Sp0ne committed Nov 17, 2020
1 parent 32b3ff4 commit 5e02aaa
Show file tree
Hide file tree
Showing 27 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Now you can access to your environnement:
This package comes with default configuration options.
You can modify them by creating (Step 2.) .env file in your root directory.

> PHP_INI: In each PHP Bin you can define your custom php.ini `/bin/{PHP_VERSION}/php.ini` to meet your requirements.
> PHP_INI: In each PHP Bin you can define your custom php.ini `/docker/{PHP_VERSION}/php.ini` to meet your requirements.
#### Entry Point

Expand Down
6 changes: 3 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: '3'
services:
webserver:
build:
context: ./bin/php/${PHP_VERSION}
context: ./docker/php/${PHP_VERSION}
container_name: '${PROJECT_NAME}-webserver-${PHP_VERSION}'
restart: 'always'
working_dir: "${PROJECT_WORKING_DIR}"
Expand All @@ -19,7 +19,7 @@ services:
- "${PROJECT_PATH_LOCALHOST}:/var/www/html"
# apache vhosts
- "${APACHE_VHOSTS_DIR}:/etc/apache2/sites-enabled"
- "./bin/php/${PHP_VERSION}/php.ini:/usr/local/etc/php/php.ini"
- "./docker/php/${PHP_VERSION}/php.ini:/usr/local/etc/php/php.ini"
- "${APACHE_LOG_DIR}:/var/log/apache2"
# TODO
# ssh git auth
Expand All @@ -43,7 +43,7 @@ services:

database:
build:
context: "./bin/${DATABASE}"
context: "./docker/${DATABASE}"
container_name: '${PROJECT_NAME}-database-${DATABASE}'
restart: 'no'
ports:
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
12 changes: 6 additions & 6 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,19 @@ env: ## Init Env file
cp .env.dist .env

run: ## Start docker
./console/run.sh
./sh/run.sh

run-build: ## Build docker and start it
./console/run.sh -f
./sh/run.sh -f

run-php: ## Access into your container php
./console/run-php.sh
./sh/run-php.sh

generate-vhosts: ## Create vhosts files .conf
./console/run-vhosts.sh
./sh/run-vhosts.sh

check-vhosts: ## Check if url is available
./console/run-vhosts-check.sh
./sh/run-vhosts-check.sh

refresh-repos: ## Git Pull on ALL FOLDER of project
./console/git-refresh-projects.sh
./sh/git-refresh-projects.sh
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 5e02aaa

Please sign in to comment.