|
I have the following issue: I am deploying Immich and the project publishes their own compose file as a release artifact. I'd like to use this as a source of truth, pull it in and merge it with my own configs. I tried using but I kept getting errors that the upstream repository could not be found. Is there a doco-cd way to do this kind of thing and I missed it? It seems like something that should be possible, somehow. |
Replies: 3 comments 4 replies
|
This should work without problems. It works on my test setup. If not, check if you use a Git access token that does not have the required permissions for this. include:
- https://github.com/immich-app/immich.git#v3.0.3:docker/docker-compose.ymlHowever the compose file provided by immich wants a .env file, which is not possible to create in this context, because the cloned immich repository sits in a different cache drectory than your own deployment repository so it's not possible to share a .env file between the two. When doco-cd loads the compose config, it will fail while trying to do the variable interpolation using the missing .env file. |
|
I did try various access tokens. Currently, I am using a fine-grained one with I don't quite understand the issue with the .env file. Generally, the |
|
I just tried this: And it seems to work as intended. Any config files need to be supplied by myself in this case, but that is acceptable, I think. |
I just tried this:
And it seems to work as intended. Any config files need to be supplied by myself in this case, but that is acceptable, I think.