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

Comments

Projects
None yet
2 participants
@rarkins
Copy link
Collaborator

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

This comment has been minimized.

Copy link
Collaborator Author

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 #docker label Oct 13, 2017

@rarkins rarkins added the help wanted label Dec 3, 2017

@rarkins rarkins self-assigned this Mar 28, 2018

@rarkins rarkins added in progress and removed ready labels Mar 28, 2018

rarkins added a commit that referenced this issue Mar 28, 2018

feat: Docker Compose support (#1729)
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

This comment has been minimized.

Copy link
Collaborator

commented Mar 28, 2018

🎉 This issue has been resolved in version 11.43.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@rarkins

This comment has been minimized.

Copy link
Collaborator Author

commented Mar 28, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.