diff --git a/.env.example b/.env.example index 8b7e945..30eb1bf 100644 --- a/.env.example +++ b/.env.example @@ -49,6 +49,14 @@ # BLACKFIRE_SERVER_ID= # BLACKFIRE_SERVER_TOKEN= +# Inject Composer authentication information into your Docker containers. +# +# This is a JSON string. Hint: Rather than setting this here, you can also +# add the following line to your .bash_profile to have it set automatically +# for every project: +# export COMPOSER_AUTH=$(cat ~/.composer/auth.json) + +# COMPOSER_AUTH diff --git a/docker-compose.yml b/docker-compose.yml index 8e2bdd9..4ef3c1e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -50,6 +50,7 @@ services: BLACKFIRE_CLIENT_ID: # Optionally set in .env. BLACKFIRE_CLIENT_TOKEN: # Optionally set in .env. COMPOSER_ALLOW_SUPERUSER: 1 + COMPOSER_AUTH: # Optionally pulled from environment working_dir: /var/www mysql: