chore: Update permissions on metrics and logs directories

This commit is contained in:
Andras Bacsai 2024-05-09 12:35:49 +02:00
parent 1026f1efa5
commit b5bef98a9b
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ public function handle(Server $server, $version = 'latest', bool $restart = fals
instant_remote_process([ instant_remote_process([
"docker run --rm --pull always -d -e \"SCHEDULER=true\" --name coolify-sentinel -v /var/run/docker.sock:/var/run/docker.sock -v /data/coolify/metrics:/app/metrics -v /data/coolify/logs:/app/logs --pid host --health-cmd \"curl --fail http://127.0.0.1:8888/api/health || exit 1\" --health-interval 10s --health-retries 3 ghcr.io/coollabsio/sentinel:$version", "docker run --rm --pull always -d -e \"SCHEDULER=true\" --name coolify-sentinel -v /var/run/docker.sock:/var/run/docker.sock -v /data/coolify/metrics:/app/metrics -v /data/coolify/logs:/app/logs --pid host --health-cmd \"curl --fail http://127.0.0.1:8888/api/health || exit 1\" --health-interval 10s --health-retries 3 ghcr.io/coollabsio/sentinel:$version",
"chown -R 9999:root /data/coolify/metrics /data/coolify/logs", "chown -R 9999:root /data/coolify/metrics /data/coolify/logs",
"chmod -R 600 /data/coolify/metrics /data/coolify/logs" "chmod -R 700 /data/coolify/metrics /data/coolify/logs"
], $server, false); ], $server, false);
} }
} }

View File

@ -4,7 +4,7 @@
"version": "4.0.0-beta.277" "version": "4.0.0-beta.277"
}, },
"sentinel": { "sentinel": {
"version": "0.0.2" "version": "0.0.3"
} }
} }
} }