diff --git a/cleanup-docker-disk-space.sh b/cleanup-docker-disk-space.sh index 49245fa..3797065 100755 --- a/cleanup-docker-disk-space.sh +++ b/cleanup-docker-disk-space.sh @@ -103,8 +103,8 @@ restart_docker_engine () { # On Linux, restart through "systemd" elif [ "$(uname)" == "Linux" ] && is_program_installed "systemctl"; then - sudo systemctl stop docker.service || true - sudo systemctl start docker.service + sudo systemctl stop snap.docker.dockerd.service || true + sudo systemctl start snap.docker.dockerd.service # Other platforms are not supported else diff --git a/container-registry/docker-compose.yaml b/container-registry/docker-compose.yaml index 1e136f3..e908559 100644 --- a/container-registry/docker-compose.yaml +++ b/container-registry/docker-compose.yaml @@ -11,6 +11,7 @@ services: REGISTRY_AUTH_HTPASSWD_REALM: Registry REGISTRY_AUTH_HTPASSWD_PATH: /auth/registry.password REGISTRY_STORAGE_FILESYSTEM_ROOTDIRECTORY: /data + REGISTRY_HTTP_HOST: https://registry.flowy.live:5443 volumes: - ./auth:/auth - ./data:/data