mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-07-20 05:15:23 +02:00
Compare commits
2 Commits
copilot/fi
...
copilot/fi
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4c96d8559a | ||
|
|
39cf706053 |
@@ -53,7 +53,6 @@ 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,21 +1,32 @@
|
|||||||
{
|
{
|
||||||
"name": "@dokploy/server",
|
"name": "@dokploy/server",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"main": "./src/index.ts",
|
"main": "./dist/index.js",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"exports": {
|
"exports": {
|
||||||
".": "./src/index.ts",
|
".": {
|
||||||
|
"import": "./dist/index.js",
|
||||||
|
"require": "./dist/index.cjs.js"
|
||||||
|
},
|
||||||
"./db": {
|
"./db": {
|
||||||
"import": "./src/db/index.ts",
|
"import": "./dist/db/index.js",
|
||||||
"require": "./dist/db/index.cjs.js"
|
"require": "./dist/db/index.cjs.js"
|
||||||
},
|
},
|
||||||
"./setup/*": {
|
"./*": {
|
||||||
"import": "./src/setup/*.ts",
|
"import": "./dist/*",
|
||||||
"require": "./dist/setup/index.cjs.js"
|
"require": "./dist/*.cjs"
|
||||||
},
|
},
|
||||||
"./constants": {
|
"./dist": {
|
||||||
"import": "./src/constants/index.ts",
|
"import": "./dist/index.js",
|
||||||
"require": "./dist/constants.cjs.js"
|
"require": "./dist/index.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,7 +68,6 @@ 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,9 +167,15 @@ while true; do
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# Execute command and capture exit code
|
||||||
${exec}
|
${exec}
|
||||||
|
EXIT_CODE=$?
|
||||||
|
|
||||||
echo "Execution completed."
|
# Wait for all background processes to complete to prevent zombie processes
|
||||||
|
wait
|
||||||
|
|
||||||
|
echo "Execution completed with exit code: $EXIT_CODE"
|
||||||
|
exit $EXIT_CODE
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const cleanupCommands = {
|
const cleanupCommands = {
|
||||||
|
|||||||
Reference in New Issue
Block a user