-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into feature/minIO-to-mock-s3
- Loading branch information
Showing
5 changed files
with
56 additions
and
14 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,3 +1,4 @@ | ||
--- | ||
ignored: | ||
- DL3022 | ||
- DL3008 | ||
|
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 |
---|---|---|
|
@@ -16,40 +16,63 @@ language and other tools it may need, as the databases and other services are | |
standardized in this project. Since most cloud providers provide managed versions | ||
of these services, you likely would not use a docker version of them in production. | ||
|
||
## Docker | ||
# Docker | ||
|
||
### Required: data source services | ||
## Data Source Services | ||
|
||
```bash | ||
git clone [email protected]:sourcetoad/DevopsToolKit.git devop-tools | ||
./devop-tools/docker/data-source-services/network-creation.sh | ||
cd ./devop-tools/docker/data-source-services && docker-compose up --build -d | ||
``` | ||
|
||
#### Specific Setup - Windows | ||
### Windows | ||
* Kill, and optionally disable, the `World Wide Web Publishing Service` | ||
* Run `set COMPOSE_CONVERT_WINDOWS_PATHS=1` in your CMD or PowerShell terminal | ||
* Optionally, [read](https://github.com/docker/compose/issues/4303#issuecomment-379563170) this bug report. | ||
#### MinIO Setup - Local S3 Buckets | ||
* [Setting up MinIO for local development](docs/minio/README.md) | ||
|
||
### Optional: Data Source Tools | ||
--- | ||
|
||
## Data Source Tools | ||
* Optionally included is the following tools: | ||
* phpMyAdmin | ||
* `cd ./devop-tools/docker/data-source-tools && docker-compose up --build -d` | ||
* Mailpit | ||
|
||
```bash | ||
cd ./devop-tools/docker/data-source-tools && docker-compose up --build -d | ||
``` | ||
|
||
## phpMyAdmin | ||
If the optional tools are launched, you can find phpMyAdmin at: localhost:8080 | ||
### phpMyAdmin | ||
_For managing MySQL/MariaDB databases visually._ | ||
|
||
* Viewable at: http://localhost:8080 | ||
* It supports the following databases... | ||
* mariadb106 (lts) | ||
* mariadb1011 (lts) | ||
|
||
### Mailpit | ||
_For mimicking an email inbox (ala mailtrap) for local usage._ | ||
|
||
* Viewable at: http://localhost:8025 | ||
* Configurable in projects via `.env` | ||
* `MAIL_MAILER=smtp` | ||
* `MAIL_HOST=sourcetoad_mailpit` | ||
* `MAIL_PORT=1025` | ||
* `MAIL_USERNAME=null` | ||
* `MAIL_PASSWORD=null` | ||
* `MAIL_ENCRYPTION=null` | ||
|
||
--- | ||
|
||
## Scripts | ||
Inside the `scripts` folder you will find one-off scripts to help with tasks. | ||
|
||
* `db_migrate.sh` - Helps migrate databases between versions of mysql. | ||
|
||
## Docs | ||
* [Hop](docs/hop/README.md) | ||
* [Setting up Nginx-Proxy](docs/nginx-proxy/README.md) | ||
* [Setting up PHP Testing in PhpStorm](docs/phpstorm-docker/README.md) | ||
* [Leveraging Yii2 Shell](docs/yii2/yii-shell.md) |
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