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

Ignore local override file #187

Merged
merged 1 commit into from
Nov 25, 2019
Merged

Ignore local override file #187

merged 1 commit into from
Nov 25, 2019

Conversation

markhoney
Copy link
Contributor

Adding an ignore rule for docker-compose.override.yml should allow people to clone this repo and use an override file to match their environment, without that file causing issues every time they pull a new version of the repo.

Adding an ignore rule for docker-compose.override.yml should allow people to clone this repo and use an override file to match their environment, without that file causing issues every time they pull a new version of the repo.
Copy link
Collaborator

@cimnine cimnine left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your PR. For those building the Netbox Docker image on their own, it would make sense to add this to the .dockerignore file as well.
Other than that I'm absolutely in favor of this change. It should even be documented somewhere as best practice.

@cimnine
Copy link
Collaborator

cimnine commented Nov 18, 2019

I did know that docker-compose can combine multiple docker-compose.yml files, but I didn't know that docker-compose reads the docker-comose.override.yml file by default:
https://docs.docker.com/compose/extends/#understanding-multiple-compose-files

So cool.

@cimnine cimnine added awaiting answer There is still some open discussion. enhancement The issue describes an enhancement that we would like to implement in the future. labels Nov 25, 2019
@cimnine cimnine merged commit 552676c into netbox-community:master Nov 25, 2019
@cimnine cimnine removed the awaiting answer There is still some open discussion. label Nov 25, 2019
@markhoney markhoney deleted the patch-1 branch November 26, 2019 00:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement The issue describes an enhancement that we would like to implement in the future.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants