8000 Update README.md · jarnovanleeuwen/laravel-dock@3ca49d8 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3ca49d8

Browse files
Update README.md
1 parent 779b18b commit 3ca49d8

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ The stack can be managed through the `dock <command>` command-line executable. I
5151
| `scheduler` | Start Laravel's scheduler daemon. |
5252
| `queue` | Start Laravel Horizon (queue workers). |
5353
| `tail` | Tail and follow the Laravel logs. |
54-
| `build [tag]` | Build and tag an image ready for production. |
55-
| `push [tag]` | Push the latest image to the container registry defined in `REGISTRY`. |
56-
| `deploy [tag]` | Deploy to Kubernetes |
54+
| `build <tag>` | Build and tag an image ready for production. |
55+
| `push <tag>` | Push the latest image to the container registry defined in `REGISTRY`. |
56+
| `deploy <tag>` | Deploy to Kubernetes |
5757
| `exec [...]` | Run arbitrary commands inside the running application container. For example: `dock exec bash` to open an interactive shell in the running app container. |
5858
| `kubectl [...]` | Run `kubectl` with the context defined in `KUBERNETES_CONTEXT`. |
5959
| `test [...]` | Run `phpunit` inside the running application container. For example: `dock test --filter ExampleTest`. |
@@ -64,7 +64,7 @@ By default, Apache binds to port 80, MySQL to port 3306 and Redis to port 6379.
6464

6565
# Kubernetes
6666

67-
You can deploy the Laravel application, including MySQL, Redis, Horizon and a scheduler by applying the [`kubernetes.yaml`](https://github.com/jarnovanleeuwen/laravel-dock/blob/master/build/kubernetes.yaml) config. The example assumes that you are using external (managed) services for MySQL and Redis, but this can be modified to run your own containers using persistent volumes.
67+
You can deploy the Laravel application, including MySQL, Redis, Horizon and a scheduler by applying the [`kubernetes.yaml`](https://github.com/jarnovanleeuwen/laravel-dock/blob/main/build/kubernetes.yaml) config. The example assumes that you are using external (managed) services for MySQL and Redis, but this can be modified to run your own containers using persistent volumes.
6868

6969
First, create secrets for the Docker registry and application keys and passwords.
7070
```sh
@@ -74,7 +74,7 @@ First, create secrets for the Docker registry and application keys and passwords
7474

7575
Then, deploy the application.
7676
```sh
77-
./dock deploy [tag]
77+
./dock deploy <tag>
7878
```
7979

8080
Finally, you can run the migrations or any other artisan command.
@@ -85,4 +85,4 @@ Finally, you can run the migrations or any other artisan command.
8585
# GitHub Actions
8686
This repository includes and uses an example workflow that builds the image, starts the application, runs the tests and publishes the image to the GitHub Container Registry. Images are tagged with the SHA-hash of the commit that triggered the build. By default, the image is only published for builds in the `main` branch. However, the image is also published in other branches when the commit message includes the string `/publish`.
8787

88-
You can find the workflow at https://github.com/jarnovanleeuwen/laravel-dock/blob/main/.github/workflows/push.yml.
88+
You can find the workflow at https://github.com/jarnovanleeuwen/laravel-dock/blob/main/.github/workflows/push.yml.

0 commit comments

Comments
 (0)
0