Add 'profiles: email' to the MailHog container
This commit is contained in:
parent
4d02bae826
commit
561e62481d
@ -42,7 +42,7 @@ Start the development environment
|
|||||||
$ ./sndev start
|
$ ./sndev start
|
||||||
```
|
```
|
||||||
|
|
||||||
By default all services will be run. If you want to exclude specific services from running, set `COMPOSE_PROFILES` to use one or more of `minimal|images|search|payments`. To only run mininal services without images, search, or payments:
|
By default all services will be run. If you want to exclude specific services from running, set `COMPOSE_PROFILES` to use one or more of `minimal|images|search|payments|email`. To only run mininal services without images, search, or payments:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ COMPOSE_PROFILES=minimal ./sndev start
|
$ COMPOSE_PROFILES=minimal ./sndev start
|
||||||
@ -61,6 +61,12 @@ To run with images and payments services:
|
|||||||
$ COMPOSE_PROFILES=images,payments ./sndev start
|
$ COMPOSE_PROFILES=images,payments ./sndev start
|
||||||
```
|
```
|
||||||
|
|
||||||
|
To run with the option to sign up/login using [MailHog](#MailHog):
|
||||||
|
|
||||||
|
```sh
|
||||||
|
$ COMPOSE_PROFILES=email ./sndev start
|
||||||
|
```
|
||||||
|
|
||||||
View all available commands
|
View all available commands
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
|
@ -380,6 +380,8 @@ services:
|
|||||||
mailhog:
|
mailhog:
|
||||||
image: mailhog/mailhog:latest
|
image: mailhog/mailhog:latest
|
||||||
container_name: mailhog
|
container_name: mailhog
|
||||||
|
profiles:
|
||||||
|
- email
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "curl", "-f", "http://localhost:8025"]
|
test: ["CMD", "curl", "-f", "http://localhost:8025"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user