mirror of
https://github.com/opdavies/build-configs.git
synced 2025-09-06 19:35:33 +01:00
feat: use a non-root Docker user
Create a non-root `app` user within Docker that maps to default user (uid 1000) on Linux-based systems. Refs #10
This commit is contained in:
parent
1fb75c9d93
commit
d66f34480a
2 changed files with 18 additions and 4 deletions
|
@ -1,3 +1,5 @@
|
|||
DOCKER_UID=1000
|
||||
|
||||
{% if dockerCompose %}
|
||||
export COMPOSE_PROJECT_NAME={{ name }}
|
||||
export COMPOSE_PROFILES=web,php,database
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue