-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #66 from nspalo/development
Development
- Loading branch information
Showing
18 changed files
with
182 additions
and
45 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
# Install MySQL | ||
FROM library/mysql:8.0.30 | ||
FROM library/mysql:5.7.22 |
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
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,9 @@ | ||
# | ||
# Docker Environment - Production | ||
#============================ | ||
|
||
# DATABASE | ||
MYSQL_DATABASE= | ||
MYSQL_USER= | ||
MYSQL_PASSWORD= | ||
MYSQL_ROOT_PASSWORD= |
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,9 @@ | ||
# | ||
# Docker Environment - Staging | ||
#============================ | ||
|
||
# DATABASE | ||
MYSQL_DATABASE=db_docker_laravel | ||
MYSQL_USER=dbUserDev | ||
MYSQL_PASSWORD=dbUserDev123 | ||
MYSQL_ROOT_PASSWORD=dbUserRoot123 |
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,13 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -eo pipefail | ||
|
||
#docker compose \ | ||
# --env-file "docker/environments/config.env" \ | ||
# -f "docker/docker-compose.yml" \ | ||
# run --rm artisan \ | ||
# ${@} | ||
|
||
./scripts/run.sh \ | ||
artisan \ | ||
${@} |
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,10 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -eo pipefail | ||
|
||
#docker compose \ | ||
# --env-file "docker/environments/config.env" \ | ||
# -f "docker/docker-compose.yml" \ | ||
# build | ||
./scripts/main-docker-compose.sh \ | ||
build |
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,12 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -eo pipefail | ||
|
||
#docker compose \ | ||
# --env-file "docker/environments/config.env" \ | ||
# -f "docker/docker-compose.yml" \ | ||
# run --rm composer \ | ||
# ${@} | ||
./scripts/run.sh \ | ||
composer \ | ||
${@} |
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,12 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -eo pipefail | ||
|
||
#docker compose \ | ||
# --env-file "docker/environments/config.env" \ | ||
# -f "docker/docker-compose.yml" \ | ||
# down \ | ||
# ${@} | ||
./scripts/main-docker-compose.sh \ | ||
down \ | ||
${@} |
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,12 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -eo pipefail | ||
|
||
#docker compose \ | ||
# --env-file "docker/environments/config.env" \ | ||
# -f "docker/docker-compose.yml" \ | ||
# run --rm \ | ||
# ${@} | ||
./scripts/main-docker-compose.sh \ | ||
exec \ | ||
${@} |
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 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -eo pipefail | ||
|
||
docker compose \ | ||
--env-file "docker/environments/config.env" \ | ||
-f "docker/docker-compose.yml" \ | ||
${@} |
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 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -eo pipefail | ||
|
||
# Delete All Images | ||
docker system prune -a --force | ||
docker ps | ||
docker images |
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,12 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -eo pipefail | ||
|
||
#docker compose \ | ||
# --env-file "docker/environments/config.env" \ | ||
# -f "docker/docker-compose.yml" \ | ||
# run --rm \ | ||
# ${@} | ||
./scripts/main-docker-compose.sh \ | ||
run --rm \ | ||
${@} |
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,12 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -eo pipefail | ||
|
||
#docker compose \ | ||
# --env-file "docker/environments/config.env" \ | ||
# -f "docker/docker-compose.yml" \ | ||
# stop \ | ||
# ${@} | ||
./scripts/main-docker-compose.sh \ | ||
stop \ | ||
${@} |
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,12 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -eo pipefail | ||
|
||
#docker compose \ | ||
# --env-file "docker/environments/config.env" \ | ||
# -f "docker/docker-compose.yml" \ | ||
# up \ | ||
# ${@} | ||
./scripts/main-docker-compose.sh \ | ||
up \ | ||
${@} |