We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca1c6f2 commit 33d8f5dCopy full SHA for 33d8f5d
README.md
@@ -6,6 +6,28 @@
6
composer require --dev blamebutton/laravel-docker-builder
7
```
8
9
+## Configuration
10
+
11
+Two environment variables need to be set:
12
13
+* `DOCKER_NGINX_TAG`
14
+* `DOCKER_PHP_TAG`
15
16
+This can be done either by adding them to your `.env` file or passing them to the build command.
17
18
+### Option 1: `.env`
19
20
+```
21
+DOCKER_NGINX_TAG=laravel-app:nginx
22
+DOCKER_PHP_TAG=laravel-app:php
23
24
25
+### Option 2: CLI
26
27
+```shell
28
+DOCKER_NGINX_TAG=laravel-app:nginx DOCKER_PHP_TAG=laravel-app:php vendor/bin/docker-build
29
30
31
## Usage
32
33
Set the `DOCKER_NGINX_TAG` and `DOCKER_PHP_TAG` environment variables and run:
0 commit comments