Skip to content

Commit

Permalink
add composer github auth key to docker.env.dist
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanbarlog committed Sep 3, 2017
1 parent abaff1e commit 28a4e0e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ services:
- "./.composer:/root/.composer"
environment:
COMPOSER_ALLOW_SUPERUSER: 1
COMPOSER_AUTH: '{"github.com": "${GITHUB_PERSONAL_ACCESS_KEY}"}'
env_file:
- ./env/symfony.env

Expand Down
3 changes: 3 additions & 0 deletions env/docker.env.dist
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,6 @@ export SYMFONY_APP_DOMAIN=dev.symfony
# base auth user:password for nginx - by default needed only for stg environment
export SYMFONY_BASE_AUTH_USER=user
export SYMFONY_BASE_AUTH_PASSWORD=password

# composer auth
export GITHUB_PERSONAL_ACCESS_KEY={your personal access key generated at github.com}

0 comments on commit 28a4e0e

Please sign in to comment.