mirror of
https://github.com/opdavies/build-configs.git
synced 2025-01-23 02:27:33 +00:00
Oliver Davies
d66f34480a
Create a non-root `app` user within Docker that maps to default user (uid 1000) on Linux-based systems. Refs #10
9 lines
165 B
Twig
9 lines
165 B
Twig
DOCKER_UID=1000
|
|
|
|
{% if dockerCompose %}
|
|
export COMPOSE_PROJECT_NAME={{ name }}
|
|
export COMPOSE_PROFILES=web,php,database
|
|
|
|
export DOCKER_WEB_VOLUME=.:/app
|
|
{% endif %}
|