Skip to content

Default to current project when using docker-compose #38

Open

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

Activity

  1. added a commit that references this issue on Jan 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions