Skip to content

Default to current project when using docker-compose #38

@kgiglia

Description

@kgiglia

We use this image alongside a couple others via docker-compose, and our config for every job currently has to include "project": "project-name".

Could project default to the name of the project that the Cron container is a part of?

I know the project name can be determined with something like the following from within the Cron container:

docker inspect -f '{{index .Config.Labels "com.docker.compose.project"}}' $HOSTNAME

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions