Skip to content

Commit 0fd9454

Browse files
committed
Move configuration down
1 parent 6c4f6f3 commit 0fd9454

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

README.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -17,23 +17,6 @@
1717
composer require --dev blamebutton/laravel-docker-builder
1818
```
1919

20-
## Configuration
21-
22-
### Option 1: Config File
23-
24-
```shell
25-
php artisan vendor:publish --provider="BlameButton\LaravelDockerBuilder\DockerServiceProvider"
26-
```
27-
28-
### Option 2: `.env`
29-
30-
By default, the configuration file reads the following environment variables to determine the Docker image tags.
31-
32-
```shell
33-
DOCKER_NGINX_TAG=laravel-app:nginx
34-
DOCKER_PHP_TAG=laravel-app:php
35-
```
36-
3720
## Usage
3821

3922
### Detect Configuration
@@ -68,4 +51,21 @@ See all available options, and their supported values, by running `php artisan d
6851
* `-e, --php-extensions` - PHP extensions (comma-separated) to include in Docker image
6952
* `-o, --optimize` - Run `php artisan optimize` on container start
7053
* `-m, --node-package-manager` - Install Node dependencies using NPM or Yarn
71-
* `-b, --node-build-tool` - Run Vite.js or Laravel Mix build step
54+
* `-b, --node-build-tool` - Run Vite.js or Laravel Mix build step
55+
56+
## Configuration
57+
58+
### Option 1: Config File
59+
60+
```shell
61+
php artisan vendor:publish --provider="BlameButton\LaravelDockerBuilder\DockerServiceProvider"
62+
```
63+
64+
### Option 2: `.env`
65+
66+
By default, the configuration file reads the following environment variables to determine the Docker image tags.
67+
68+
```shell
69+
DOCKER_NGINX_TAG=laravel-app:nginx
70+
DOCKER_PHP_TAG=laravel-app:php
71+
```

0 commit comments

Comments
 (0)