Skip to content

Commit f2e6c4b

Browse files
authored
Update DOCKER_COMPOSE_SETUP.md
1 parent 26a363b commit f2e6c4b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

DOCKER_COMPOSE_SETUP.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ This setup uses `serversideup/php:8.4-fpm-nginx` as the base image and is design
2626
```
2727

2828
```bash
29-
sed -i "s|^APP_KEY=.*|APP_KEY=$(php -r 'echo \"base64:\".base64_encode(random_bytes(32));')|" .env
3029
sed -i "s|^DB_PASSWORD=.*|DB_PASSWORD=\"$(tr -dc 'A-Za-z0-9' </dev/urandom | head -c 32)\"|" .env
3130
sed -i "s|^DB_ROOT_PASSWORD=.*|DB_ROOT_PASSWORD=\"$(tr -dc 'A-Za-z0-9' </dev/urandom | head -c 32)\"|" .env
3231
```
3332

3433
3. **Update `.env` with your configuration:**
34+
- Set APP_KEY ( generate with https://laravel-encryption-key-generator.vercel.app/ )
3535
- Update `APP_URL` with your domain
3636
- Configure mail settings
3737
- Configure S3 (object storage)

0 commit comments

Comments
 (0)