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

Support Docker Compose file renovation #832

Closed
rarkins opened this issue Sep 23, 2017 · 3 comments · Fixed by #1729
Closed

Support Docker Compose file renovation #832

rarkins opened this issue Sep 23, 2017 · 3 comments · Fixed by #1729
Assignees
Labels
help wanted Help is needed or welcomed on this issue manager:dockerfile Dockerfile files priority-3-medium Default priority, "should be done" but isn't prioritised ahead of others type:feature Feature (new functionality)

Comments

@rarkins
Copy link
Collaborator

rarkins commented Sep 23, 2017

Renovate the "image" lines in a docker compose file. Apart from the file syntax, never everything else should be the same as the existing Dockerfile renovation.

Use a new manager name docker-compose instead of overloading the existing docker manager type, but apply config from the docker config type.

@rarkins rarkins added type:feature Feature (new functionality) priority-3-medium Default priority, "should be done" but isn't prioritised ahead of others ready labels Sep 23, 2017
@rarkins
Copy link
Collaborator Author

rarkins commented Oct 7, 2017

Example:

# docker-compose.yml
version: '3'
services:
  db:
    container_name: db
    image: postgres
    ports:
      - "26432:5432"
    environment:
      - POSTGRES_PASSWORD=hidden
  redis:
    container_name: redis
    image: redis
    ports:
      - "36379:6379"
  pgweb:
    image: sosedoff/pgweb
    restart: always
    ports:
      - "18081:8081"
    links:
      - db:postgres
    environment:
      - DATABASE_URL=postgres://postgres:hidden@postgres:5432/postgres?sslmode=disable
    depends_on:
      - db
  broker:
    image: rabbitmq:3-management
    ports:
      - "26672:5672" # main port
      - "27672:15672" # management port

@rarkins rarkins added the manager:dockerfile Dockerfile files label Oct 13, 2017
@rarkins rarkins added the help wanted Help is needed or welcomed on this issue label Dec 3, 2017
@rarkins rarkins added the good first issue Suitable for new contributors label Mar 5, 2018
@rarkins rarkins self-assigned this Mar 28, 2018
@rarkins rarkins added in progress and removed ready labels Mar 28, 2018
@rarkins rarkins added review and removed in progress good first issue Suitable for new contributors labels Mar 28, 2018
rarkins added a commit that referenced this issue Mar 28, 2018
Adds support for renovating Docker Compose files (e.g. `docker-compose.yml`). Functionality is essentially the same as the existing `Dockerfile` capabilities, so config for `docker` is shared with `docker-compose` but may also be overridden.

Merging as disabled by default - will wait for some opt-in testing before turning it on by default.

Closes #832
@rarkins rarkins removed the review label Mar 28, 2018
@renovate-bot
Copy link
Collaborator

🎉 This issue has been resolved in version 11.43.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@rarkins
Copy link
Collaborator Author

rarkins commented Mar 28, 2018

Docker Compose renovation is now "in beta". To test it out, please add the preset "preview:dockerCompose" to your config.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted Help is needed or welcomed on this issue manager:dockerfile Dockerfile files priority-3-medium Default priority, "should be done" but isn't prioritised ahead of others type:feature Feature (new functionality)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants