You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Symfony Docker
2
2
3
-
A [Docker](https://www.docker.com/)-based installer and runtime for the [Symfony](https://symfony.com) web framework.
3
+
A [Docker](https://www.docker.com/)-based installer and runtime for the [Symfony](https://symfony.com) web framework, with full [HTTP/2](https://symfony.com/doc/current/weblink.html) and HTTPS support.
4
4
5
5
## Getting Started
6
6
@@ -21,13 +21,14 @@ The value must be [a valid Composer stability option](https://getcomposer.org/do
21
21
22
22
For instance, use the following command to use the `master` branch of Symfony:
23
23
24
-
`STABILITY=dev docker-compose up --build`
24
+
```bash
25
+
STABILITY=dev docker-compose up --build
26
+
```
25
27
26
28
## Debugging
27
29
28
-
The default Docker stack is shipped without a Xdebug stage. It's easy
29
-
though to add [Xdebug](https://xdebug.org/) to your project, for development
30
-
purposes such as debugging tests or API requests remotely.
30
+
The default Docker stack is shipped without a Xdebug stage.
31
+
It's easy though to add [Xdebug](https://xdebug.org/) to your project, for development purposes such as debugging tests or API requests remotely.
31
32
32
33
### Add a Development Stage to the Dockerfile
33
34
@@ -48,8 +49,7 @@ RUN set -eux; \
48
49
49
50
### Configure Xdebug with Docker Compose Override
50
51
51
-
Using an [override](https://docs.docker.com/compose/reference/overview/#specifying-multiple-compose-files)
52
-
file named `docker-compose.override.yaml` ensures that the production
52
+
Using an [override](https://docs.docker.com/compose/reference/overview/#specifying-multiple-compose-files) file named `docker-compose.override.yaml` ensures that the production
53
53
configuration remains untouched.
54
54
55
55
As example, an override could look like this:
@@ -76,15 +76,15 @@ services:
76
76
PHP_IDE_CONFIG: serverName=symfony-docker
77
77
```
78
78
79
-
And run :
79
+
Then run:
80
+
80
81
````bash
81
82
docker-compose -f docker-compose.yaml -f docker-compose.override.yaml up -d
82
83
````
83
84
84
85
### Troubleshooting
85
86
86
-
Inspect the installation with the following command. The requested Xdebug
87
-
version should be displayed in the output.
87
+
Inspect the installation with the following command. The requested Xdebug version should be displayed in the output.
0 commit comments