Skip to content

Duplicate images being launched #385

@aj020883

Description

@aj020883

Ofelia has started launching thirteen versions of each image at each schedule interval. Adding the no-overlap option is managing this issue, but it would be useful to know what is causing it.

I have included an extract of the docker-compose below. Is this caused by my configuration? is this a known issue?

  ofelia:  
    container_name: ofelia  
    image: mcuadros/ofelia:latest
    command: daemon --docker
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock:ro
    labels:
      ofelia.job-run.eis-importer_1.schedule: "* */10 * * * *"
      ofelia.job-run.eis-importer_1.image: "eis-importer:latest"
      ofelia.job-run.eis-importer_1.volume: "/media/eis/docker/vols:/media"
      ofelia.job-run.eis-importer_1.network: "internal_network"
      ofelia.job-run.eis-importer_1.command: "python3 /usr/local/bin/eisIngester.py 1"
      ofelia.job-run.eis-importer_2.schedule: "* 5/10 * * * *"
      ofelia.job-run.eis-importer_2.image: "eis-importer:latest"
      ofelia.job-run.eis-importer_2.volume: "/media/eis/docker/vols:/media"
      ofelia.job-run.eis-importer_2.network: "internal_network"
      ofelia.job-run.eis-importer_2.command: "python3 /usr/local/bin/eisIngester.py 2"
    restart: unless-stopped
    networks:
      - internal_network

Really appreciate any input you have on this issue.

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