Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 465 Bytes

set-user-and-group-id.md

File metadata and controls

18 lines (13 loc) · 465 Bytes

Set user and group id

As a user with a UID other than 1000, you have permissions issues with files.

The variables are automatically changed in start.sh for .env. But ultimately have to be handed over docker-compose.yml.

Required: APPLICATION_UID & APPLICATION_GID

docker-compose.yml:

services:
  web:
    environment:
    # Set user and group id
    - APPLICATION_UID=${APPLICATION_UID:-1000}
    - APPLICATION_GID=${APPLICATION_GID:-1000}