Add email to COMPOSE_PROFILES on sndev + Cleanup README instructions

This commit is contained in:
Felipe Bueno 2024-03-21 15:02:58 -03:00
parent 561e62481d
commit eef9b3de4d
2 changed files with 1 additions and 7 deletions

View File

@ -61,12 +61,6 @@ To run with images and payments services:
$ 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
```sh

2
sndev
View File

@ -10,7 +10,7 @@ docker__compose() {
fi
if [ -z "$COMPOSE_PROFILES" ]; then
COMPOSE_PROFILES="images,search,payments"
COMPOSE_PROFILES="images,search,payments,email"
fi
CURRENT_UID=$(id -u) CURRENT_GID=$(id -g) COMPOSE_PROFILES=$COMPOSE_PROFILES command docker compose --env-file .env.development "$@"