-
|
Hello RA341, On the local Host, we can set the DOCKMAN_COMPOSE_ROOT. How does it work for the remote hosts ? I tried to use the same path, but it is not seen the files on the remote host. Would it be possible to have a parameter in hosts.yaml to set the DOCKMAN_COMPOSE_ROOT folder for each host ? Thank you Keros |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
Hi Keros, How it currently works: Example: And your compose file has: services:
nginx:
image: nginx
volumes:
- ./config/nginx.conf:/etc/nginx/nginx.conf
- ./data:/var/lib/dataWhen you deploy to a remote host:
Why you're not seeing the files: |
Beta Was this translation helpful? Give feedback.
-
|
Thank you RA341 for your detailled reply. You are working at the "docker level" and not at the OS level even if you use SSH. I have one LXC container for each of my docker app : one host = one docker-compose.yaml = one app to manage (restart / update). I thought Dockman could help me centralize and manage my other hosts. As it is not meant to manage the compose file on the remote host, it fits not my need. Sorry for my misunderstanding. I was pleased to test your app. Thank you |
Beta Was this translation helpful? Give feedback.
Hi Keros,
How it currently works:
Dockman doesn't actually transfer your compose files to the remote host. Instead, it sends the compose configuration directly to the Docker API on the remote machine. Only certain bind mounts that are within the compose root directory get transferred to the remote host - your actual compose files never leave your local machine.
Example:
Let's say you have this structure locally:
And your compose file has: