mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-07-19 21:05:21 +02:00
Compare commits
2 Commits
copilot/fi
...
copilot/fi
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
453b3d8acf | ||
|
|
1fdee416f2 |
@@ -53,6 +53,7 @@ export const destinationRouter = createTRPCRouter({
|
|||||||
`--s3-endpoint="${endpoint}"`,
|
`--s3-endpoint="${endpoint}"`,
|
||||||
"--s3-no-check-bucket",
|
"--s3-no-check-bucket",
|
||||||
"--s3-force-path-style",
|
"--s3-force-path-style",
|
||||||
|
"--s3-disable-checksum",
|
||||||
"--retries 1",
|
"--retries 1",
|
||||||
"--low-level-retries 1",
|
"--low-level-retries 1",
|
||||||
"--timeout 10s",
|
"--timeout 10s",
|
||||||
|
|||||||
@@ -1,32 +1,21 @@
|
|||||||
{
|
{
|
||||||
"name": "@dokploy/server",
|
"name": "@dokploy/server",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"main": "./dist/index.js",
|
"main": "./src/index.ts",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"exports": {
|
"exports": {
|
||||||
".": {
|
".": "./src/index.ts",
|
||||||
"import": "./dist/index.js",
|
|
||||||
"require": "./dist/index.cjs.js"
|
|
||||||
},
|
|
||||||
"./db": {
|
"./db": {
|
||||||
"import": "./dist/db/index.js",
|
"import": "./src/db/index.ts",
|
||||||
"require": "./dist/db/index.cjs.js"
|
"require": "./dist/db/index.cjs.js"
|
||||||
},
|
},
|
||||||
"./*": {
|
"./setup/*": {
|
||||||
"import": "./dist/*",
|
"import": "./src/setup/*.ts",
|
||||||
"require": "./dist/*.cjs"
|
"require": "./dist/setup/index.cjs.js"
|
||||||
},
|
},
|
||||||
"./dist": {
|
"./constants": {
|
||||||
"import": "./dist/index.js",
|
"import": "./src/constants/index.ts",
|
||||||
"require": "./dist/index.cjs.js"
|
"require": "./dist/constants.cjs.js"
|
||||||
},
|
|
||||||
"./dist/db": {
|
|
||||||
"import": "./dist/db/index.js",
|
|
||||||
"require": "./dist/db/index.cjs.js"
|
|
||||||
},
|
|
||||||
"./dist/db/schema": {
|
|
||||||
"import": "./dist/db/schema/index.js",
|
|
||||||
"require": "./dist/db/schema/index.cjs.js"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@@ -68,6 +68,7 @@ export const getS3Credentials = (destination: Destination) => {
|
|||||||
`--s3-endpoint="${endpoint}"`,
|
`--s3-endpoint="${endpoint}"`,
|
||||||
"--s3-no-check-bucket",
|
"--s3-no-check-bucket",
|
||||||
"--s3-force-path-style",
|
"--s3-force-path-style",
|
||||||
|
"--s3-disable-checksum",
|
||||||
];
|
];
|
||||||
|
|
||||||
if (provider) {
|
if (provider) {
|
||||||
|
|||||||
@@ -167,15 +167,9 @@ while true; do
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
# Execute command and capture exit code
|
|
||||||
${exec}
|
${exec}
|
||||||
EXIT_CODE=$?
|
|
||||||
|
|
||||||
# Wait for all background processes to complete to prevent zombie processes
|
echo "Execution completed."
|
||||||
wait
|
|
||||||
|
|
||||||
echo "Execution completed with exit code: $EXIT_CODE"
|
|
||||||
exit $EXIT_CODE
|
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const cleanupCommands = {
|
const cleanupCommands = {
|
||||||
|
|||||||
Reference in New Issue
Block a user