"" SSH, , , . " " depend_on.
Depends_on , , " ruff". , , , db , - depends_on right , , , , , , , .
, -. :
services:
web:
volumes:
- /var/run/docker.sock:/var/run/docker.sock
, -, , :
docker exec pdftk <thecommand>
.
Of course, you can use http / api-based implementations, in this case you do not need to set any ports or mount a socket, moreover, you can access services using their service name
ping pdftk or ping ffmpeg
source
share