Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to start containers when environment variable not set #254

Open
SerialVelocity opened this issue Sep 28, 2018 · 0 comments
Open

Unable to start containers when environment variable not set #254

SerialVelocity opened this issue Sep 28, 2018 · 0 comments

Comments

@SerialVelocity
Copy link
Contributor

I'm unable to start containers because of the error:

'docker-compose ps -q The CIRCLECI variable is not set. Defaulting to a blank string.' returned exit code 1
            The output was:
            The CIRCLECI variable is not set. Defaulting to a blank string.
            No such service: The CIRCLECI variable is not set. Defaulting to a blank string.

Here's a log line which may also help debug the problem:

23:57:56.116 [pool-4-thread-1] INFO com.palantir.docker.compose.logging.FileLogCollector - Writing logs for container 'The CIRCLECI variable is not set. Defaulting to a blank string.' to '<path-to-project>/build/dockerLogs/<class-name>/The CIRCLECI variable is not set. Defaulting to a blank string..log'

docker-compose.yml:

version: "3"
services:
  postgres:
    build:
      context: ../../../../project-folder
      args:
        - CIRCLECI=${CIRCLECI}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant