Skip to content

Commit e0c1837

Browse files
committed
Merge branch 'workspace-user' of github.com:computerfr33k/laradock into workspace-user
2 parents 20adc9c + dd9855d commit e0c1837

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,8 @@ You can select your own combination of container form this list:
227227
docker exec -it {Workspace-Container-Name} bash
228228
```
229229
Replace `{Workspace-Container-Name}` with your Workspace container name.
230+
<br />
231+
Add `--user=laradock` to have files created as your host's user. (don't forget to change the PUID (User id) and PGID (group id) variables in docker-compose.yml).
230232
<br>
231233
To find the containers names type `docker-compose ps`.
232234

@@ -657,7 +659,7 @@ More details about this [here](https://github.com/jenssegers/laravel-mongodb#ins
657659
7 - Test it:
658660

659661
- First let your Models extend from the Mongo Eloquent Model. Check the [documentation](https://github.com/jenssegers/laravel-mongodb#eloquent).
660-
- Enter the Workspace Container `docker exec -it laradock_workspace_1 bash`.
662+
- Enter the Workspace Container `docker exec -it --user=laradock laradock_workspace_1 bash`.
661663
- Migrate the Database `php artisan migrate`.
662664

663665

0 commit comments

Comments
 (0)