fix(installation): path to config file for docker login

This commit is contained in:
peaklabs-dev 2025-04-02 14:35:37 +02:00
parent 1016b000c6
commit f53f671656
No known key found for this signature in database

View file

@ -41,8 +41,8 @@ fi
# Check if Docker config file exists
DOCKER_CONFIG_MOUNT=""
if [ -f /etc/docker/config.json ]; then
DOCKER_CONFIG_MOUNT="-v /etc/docker/config.json:/root/.docker/config.json"
if [ -f /root/.docker/config.json ]; then
DOCKER_CONFIG_MOUNT="-v /root/.docker/config.json:/root/.docker/config.json"
fi
if [ -f /data/coolify/source/docker-compose.custom.yml ]; then