Skip to content

Write permissions issues if user is not 1000 #129

Open
@davidusacd

Description

@davidusacd

Hi!

First of all, congratulations for this amazing repository.

I found out a problem using Makefile commands if the Linux current user is not 1000. Makefile don't pass the environment variables and docker-composer files get always 1000. This causes write permissions errors on app volumes. I think this could be fixed with something like this:

Makefile

HOST_UID=$(shell id -u)
HOST_GID=$(shell id -g)

...

up: ## Up containers
	HOST_UID=$(HOST_UID) HOST_GID=$(HOST_GID) docker-compose ${DC_RUN_ARGS} up --remove-orphans

...

Thank you very much!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions