[bug] File on server doesn't find docker-compose.yml file #150

Closed
opened 2025-10-31 15:03:20 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @tm-brg on GitHub (Dec 9, 2024).

I use 1.16.12, I have a compose file but I can't redeploy it because komodo doesn't find the file on the server but the path is good.

image

Originally created by @tm-brg on GitHub (Dec 9, 2024). I use 1.16.12, I have a compose file but I can't redeploy it because komodo doesn't find the file on the server but the path is good. ![image](https://github.com/user-attachments/assets/7b912d11-65f2-455b-aaf1-5732457a8737)
GiteaMirror added the setup label 2025-10-31 15:03:20 -05:00
Author
Owner

@mbecker20 commented on GitHub (Dec 11, 2024):

If you are running Periphery in docker container, the path is seen from inside container. You have to mount the file into the container.

Note that the mount should be the same on both side, like - /home/ubuntu/docker:/home/ubuntu/docker. This ensures that relative file mounts will work correctly, re this discussion: https://github.com/mbecker20/komodo/discussions/180

@mbecker20 commented on GitHub (Dec 11, 2024): If you are running Periphery in docker container, the path is seen from inside container. You have to mount the file into the container. Note that the mount should be the same on both side, like `- /home/ubuntu/docker:/home/ubuntu/docker`. This ensures that relative file mounts will work correctly, re this discussion: https://github.com/mbecker20/komodo/discussions/180
Author
Owner

@froststevefrost commented on GitHub (Dec 20, 2024):

If you are running Periphery in docker container, the path is seen from inside container. You have to mount the file into the container.

Note that the mount should be the same on both side, like - /home/ubuntu/docker:/home/ubuntu/docker. This ensures that relative file mounts will work correctly, re this discussion: #180

This worked for me, thank you!

@froststevefrost commented on GitHub (Dec 20, 2024): > If you are running Periphery in docker container, the path is seen from inside container. You have to mount the file into the container. > > Note that the mount should be the same on both side, like `- /home/ubuntu/docker:/home/ubuntu/docker`. This ensures that relative file mounts will work correctly, re this discussion: #180 This worked for me, thank you!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/komodo#150