-
Notifications
You must be signed in to change notification settings - Fork 7
Drop legacy dbs, add optional phpMyAdmin, start deprecation of networks. #10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
39c5b9a
docs: remove outdated mysql56 tips
iBotPeaches 6ca2712
docs: remove "st-mysql-56" and trailing space
iBotPeaches 3c3c42e
build: drop mysql56, add maria103
iBotPeaches 6abe77d
feat: add optional data-source-tools to deprecate among each project
iBotPeaches e9c9314
docs: add optional notes about data source tools
iBotPeaches d4c5977
build: add "st-internal" to all networks to begin deprecation
iBotPeaches 89b2251
Merge pull request #11 from sourcetoad/enhance-optional-data-source-t…
iBotPeaches bb5017c
build: drop dead networks
iBotPeaches efe5aa3
build: add mariadb104 into phpmyadmin
iBotPeaches 8be678d
feat: add maria104 (opt-in)
iBotPeaches 8cb9b36
fix: update example (Laravel/Yii2) into future
iBotPeaches e7b259d
fix: rename "laravel5" to "laravel" to reflect Laravel
iBotPeaches 2632bfa
docs: fix spelling
iBotPeaches File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,42 +1,38 @@ | ||
| ## Typical Docker Commands | ||
| ### Start all environments services | ||
| > docker-compose up --build | ||
|
|
||
| ### Restart a specific container | ||
| > docker restart [service name] | ||
|
|
||
| ### List all containers | ||
| > docker ps -a | ||
|
|
||
| ### List running containers | ||
| > docker ps | ||
|
|
||
| ### See used space | ||
| > docker system df | ||
|
|
||
| ### Remove un-used data | ||
| > docker system prune | ||
|
|
||
| ## Passwords | ||
| ### PostgreSQL | ||
| > username: postgres_user | ||
| > password: postgres_pass | ||
|
|
||
| ### MySql | ||
| > username: mysql_user | ||
| > password: mysql_pass | ||
|
|
||
|
|
||
| ### MariaDB | ||
| > username: mariadb_user | ||
| > password: mariadb_pass | ||
|
|
||
|
|
||
| ## Running Xdebug with PHPStorm alongside Docker. | ||
| From Docker versions 18.03 and above, Docker creates a special DNS name that resolves | ||
| to the internal IP address used by the host. | ||
| to the internal IP address used by the host. | ||
|
|
||
| Old logic (that has not updated to special DNS name) will need to point to the IP of `10.254.254.254`. | ||
|
|
||
| ``` | ||
| sudo ifconfig lo0 alias 10.254.254.254 | ||
| ``` | ||
| ``` |
This file contains hidden or 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 hidden or 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 hidden or 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,7 +1,2 @@ | ||
| echo "Creating container networks:\n" | ||
| docker network create st-internal | ||
| docker network create nginx-proxy | ||
| docker network create st-mariadb-102 | ||
| docker network create st-mysql-56 | ||
| docker network create st-postgres-95 | ||
| docker network create st-redis-32 |
This file contains hidden or 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,17 @@ | ||
| version: '2' | ||
| services: | ||
| phpmyadmin: | ||
| image: phpmyadmin/phpmyadmin:latest | ||
| container_name: sourcetoad_phpmyadmin | ||
| ports: | ||
| - 8080:80 | ||
| networks: | ||
| - st-internal | ||
| environment: | ||
| PMA_HOSTS: mariadb102,mariadb103,mariadb104 | ||
| PMA_USER: root | ||
| PMA_PASSWORD: root | ||
| networks: | ||
| st-internal: | ||
| external: | ||
| name: st-internal |
This file contains hidden or 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
File renamed without changes.
File renamed without changes.
This file contains hidden or 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 hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.