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
+15-20
Original file line number
Diff line number
Diff line change
@@ -52,7 +52,7 @@
52
52
53
53
## How to use with my project ?
54
54
55
-
- Copy this repository `Dockerfile`, `docker` Directory, `Makefile`, and `.dockerignore` to your application root directory and configure it to your needs.
55
+
- Copy this repository `Dockerfile`, `docker` Directory, `Makefile`, `docker-compose.yml`, `docker-compose.prod.yml`and `.dockerignore` to your application root directory and configure it to your needs.
56
56
57
57
## How to configure image to run my project ?
58
58
@@ -79,7 +79,7 @@ Your application will be split into two components.
79
79
80
80
# Requirements
81
81
82
-
-[Docker 20.05 or higher](https://docs.docker.com/install/)
82
+
-[Docker 20.10.0 or higher](https://docs.docker.com/install/)
83
83
-[Docker-Compose 1.27 or higher](https://docs.docker.com/compose/install/) (optional)
84
84
- PHP >= 7 Application
85
85
@@ -88,7 +88,7 @@ Your application will be split into two components.
88
88
#### 1. Add Template to your repo.
89
89
90
90
1. Download This Repository
91
-
2. Copy `Dockerfile`, `docker` Directory, `Makefile`, and `.dockerignore` Into your Application Repository.
91
+
2. Copy `Dockerfile`, `docker` Directory, `Makefile`, `docker-compose.yml`, `docker-compose.prod.yml`and `.dockerignore` Into your Application Repository.
92
92
93
93
OR
94
94
@@ -114,18 +114,18 @@ OR
114
114
However, in an environment where CI/CD pipelines will build the image, they will need to supply some build-time arguments for the image. (tho defaults exist.)
| `PHP_VERSION` | PHP Version used in the Image | `7.4` |
121
+
| `PHP_ALPINE_VERSION` | Alpine Version for the PHP Image | `3.15` |
122
+
| `NGINX_VERSION` | Nginx Version | `1.21` |
123
+
| `COMPOSER_VERSION` | Composer Version used in Image | `2.0` |
124
+
| `COMPOSER_AUTH` | A Json Object with Bitbucket or Github token to clone private Repos with composer.</br>[Reference](https://getcomposer.org/doc/03-cli.md#composer-auth) | `{}` |
125
+
| `XDEBUG_VERSION` | Xdebug Version to use in Development Image | `3.1.3` |
| app | Production | The PHP Application with immutable code/dependencies. By default starts `PHP-FPM` process listening on `9000`. Command can be extended to run any PHP Consumer/Job, entrypoint will still start the pre-run setup and then run the supplied command. | ~135mb | PHP Official Image (Alpine) |
@@ -198,11 +198,6 @@ In `docker/` directory there is `post-build-*` and `pre-run-*` scripts that are
198
198
fail when it cannot connect to
199
199
DB. [Make sure you configure doctrine to avoid this extra DB Check connection.](https://symfony.com/doc/current/reference/configuration/doctrine.html#:~:text=The-,server_version,-option%20was%20added)
200
200
201
-
3. Xdebug not working
202
-
203
-
- Xdebug is configured to work with Linux, to make it work for Mac/Windows, please change `XDEBUG_CLIENT_HOST` env
204
-
variable to `host.docker.internal` in `docker-compose.yml` file.
0 commit comments