[Bug]: Docker compose file is not recognized when using public GitHub repo
alexaka1 opened this issue · 2 comments
alexaka1 commented
Error Message and Logs
2024-Nov-20 11:55:45.682735
Starting deployment of Blazor playground to alexaka1.dev.
2024-Nov-20 11:55:45.978141
Preparing container with helper image: ghcr.io/coollabsio/coolify-helper:1.0.4.
2024-Nov-20 11:55:46.153013
docker rm -f gwok8gw8osko408c4cwg000c
2024-Nov-20 11:55:46.153013
Error response from daemon: No such container: gwok8gw8osko408c4cwg000c
2024-Nov-20 11:55:46.356276
docker run -d --network coolify --name gwok8gw8osko408c4cwg000c --rm -v /var/run/docker.sock:/var/run/docker.sock ghcr.io/coollabsio/coolify-helper:1.0.4
2024-Nov-20 11:55:46.356276
9b440506699d86636f68b923af3bdbeae58d5ca07dbdacd11344d3b6df21ef52
2024-Nov-20 11:55:47.619527
docker exec gwok8gw8osko408c4cwg000c bash -c 'GIT_SSH_COMMAND="ssh -o ConnectTimeout=30 -p 22 -o Port=22 -o LogLevel=ERROR -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" git ls-remote https://github.com/alexaka1/adev-dotnet-blazor-playground main'
2024-Nov-20 11:55:47.619527
fcf6243891aa4b95915241ecba8a5b6eebed272e refs/heads/main
2024-Nov-20 11:55:47.634616
----------------------------------------
2024-Nov-20 11:55:47.636952
Importing alexaka1/adev-dotnet-blazor-playground:main (commit sha HEAD) to /artifacts/gwok8gw8osko408c4cwg000c.
2024-Nov-20 11:55:47.868715
docker exec gwok8gw8osko408c4cwg000c bash -c 'git clone -b "main" https://github.com/alexaka1/adev-dotnet-blazor-playground /artifacts/gwok8gw8osko408c4cwg000c'
2024-Nov-20 11:55:47.868715
Cloning into '/artifacts/gwok8gw8osko408c4cwg000c'...
2024-Nov-20 11:55:49.274529
docker exec gwok8gw8osko408c4cwg000c bash -c 'cd /artifacts/gwok8gw8osko408c4cwg000c && git log -1 fcf6243891aa4b95915241ecba8a5b6eebed272e --pretty=%B'
2024-Nov-20 11:55:49.274529
Rename service
2024-Nov-20 11:55:51.784604
Pulling & building required images.
2024-Nov-20 11:55:52.233471
Removing old containers.
2024-Nov-20 11:55:52.410249
Starting new application.
2024-Nov-20 11:55:53.852369
SOURCE_COMMIT=fcf6243891aa4b95915241ecba8a5b6eebed272e COOLIFY_BRANCH=main docker compose --env-file /data/coolify/applications/sss44swkkoow8socs48oo80k/.env --project-name sss44swkkoow8socs48oo80k --project-directory /data/coolify/applications/sss44swkkoow8socs48oo80k -f /data/coolify/applications/sss44swkkoow8socs48oo80k/docker-compose.coolify.yaml up -d
2024-Nov-20 11:55:53.852369
no service selected
2024-Nov-20 11:55:53.912553
Oops something is not okay, are you okay? 😢
2024-Nov-20 11:55:53.915614
no service selected
Steps to Reproduce
- Setup public github repo in coolify
https://github.com/alexaka1/adev-dotnet-blazor-playground
- Set
/docker-compose.coolify.yaml
as the compose file - Enable
Preserve Repository During Deployment
- Press Deploy and observe failure
Example Repository URL
https://github.com/alexaka1/adev-dotnet-blazor-playground
Coolify Version
v4.0.0-beta.370
Are you using Coolify Cloud?
No (self-hosted)
Operating System and Version (self-hosted)
Debian GNU/Linux 12 (bookworm)
Additional Information
Coolify does not seem to recognize my compose file when using a public GitHub repo. The parsed compose file is always empty.
It does not matter which compose file I specify in my repo.
None of the magic env variables are recongized either.
Maybe it's a skill issue on my part, but I do not know what I am doing wrong. I have tried deleting the resource and adding it again, but still the same issue. It does not recognize any other compose files in the repo either.