Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ services:

php:
environment:
COMPOSER_AUTH: ${COMPOSER_AUTH}
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok I'll try the boilerplate from scratch to test this... I am getting the following unless it's in the args block, but maybe a difference in Docker config here we are dealing with.

Screen Shot 2020-05-10 at 10 08 48 PM

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like your token is malformed, are you sure it's all on one line as a json string? You know what, this might be from a poor example in the env.dist file. Try without surrounding the json object with quotes:
{"github-oauth":{"github.com":""}}

APP_ENV: ${APP_ENV}
APP_SECRET: ${APP_SECRET}
build:
context: ./docker/php
args:
TIMEZONE: ${TIMEZONE}
COMPOSER_AUTH: ${COMPOSER_AUTH}
restart: on-failure
volumes:
- ./app:/var/www/html
Expand Down