Fix typo in php-mariadb's README.md (#593)

This commit is contained in:
Alexis Saettler 2020-10-07 05:05:23 +02:00 коммит произвёл GitHub
Родитель 06b5daa6cb
Коммит aa02892788
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 1 добавлений и 17 удалений

Просмотреть файл

@ -51,7 +51,7 @@ You also can connect to MariaDB from an external tool when using VS Code by upda
### Adding another service
You can add other services to your `docker-compose.yml` file [as described in Docker's documentaiton](https://docs.docker.com/compose/compose-file/#service-configuration-reference). However, if you want anything running in this service to be available in the container on localhost, or want to forward the service locally, be sure to add this line to the service config:
You can add other services to your `docker-compose.yml` file [as described in Docker's documentation](https://docs.docker.com/compose/compose-file/#service-configuration-reference). However, if you want anything running in this service to be available in the container on localhost, or want to forward the service locally, be sure to add this line to the service config:
```yaml
# Runs the service on the same network as the database container, allows "forwardPorts" in devcontainer.json function.
@ -74,22 +74,6 @@ If you want to wire in something directly from your source code into the `www` f
sudo rm -rf /var/www/html && sudo ln -s . /var/www/html
```
### Starting / stopping Apache
This dev container includes Apache in addition to the PHP CLI. While you can use PHP's built in CLI (e.g. `php -S 0.0.0.0:8080`), you can start Apache by running:
```bash
apache2ctl start
```
Apache will be available on port `8080`.
If you want to wire in something directly from your source code into the `www` folder, you can add a symlink as follows to `postCreateCommand`:
```bash
sudo rm -rf /var/www/html && sudo ln -s . /var/www/html
```
### Adding the definition to your project
1. If this is your first time using a development container, please follow the [getting started steps](https://aka.ms/vscode-remote/containers/getting-started) to set up your machine.