-
Notifications
You must be signed in to change notification settings - Fork 42
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
Compose "files" yml value is ignored in dip.override.yml files #126
Comments
Hi |
@stoutput could you provide your main dip.yml? Do you have The problem is when the path to a compose config is relative then it is expanded to "main dip.yml dir" + relative path. compose:
files:
- ${DIP_WORK_DIR_REL_PATH}/docker-compose.yml
- ${DIP_WORK_DIR_REL_PATH}/docker-compose.$COMPOSE_EXT.yml |
The main dip.yml does not have a compose section in it. It looks something like: version: '7.0'
environment:
CYAN: '\033[1;96m'
RED: '\033[0;31m'
YELLOW: '\033[0;93m'
GREEN: '\e[0;32m'
NC: '\033[0m'
CERTS_PATH: $PWD/certs
DOCKER_CPUS: 6
DOCKER_RAM: 1536
DOCKER_SWAP: 6144
DOCKER_SETTINGS_PATH: "$HOME/Library/Group Containers/group.com.docker/settings.json"
NET_NAME: nginx-proxy
REPOS:
- git@github.com:org/repo.git
- git@github.com:org/repo-two.git
interaction:
...
provision:
... Running Adding the |
I'm fine with whatever structure you think is best here, whether to keep paths relative to the main dip.yml or not. I can keep the |
Ok. I think I can close the issue. |
Describe the bug
Is ignored in
dip.override.yml
filesSteps to reproduce
Steps to reproduce the behavior:
dip compose up
from the subfolderExpected behavior
All files listed under the
compose files
yml key are used in the docker-compose callContext (please complete the following information):
The text was updated successfully, but these errors were encountered: