Commit graph

1091 commits

Author SHA1 Message Date
Andras Bacsai
8a917f6a4e fix: invalid tz should not prevent other jobs to be executed 2024-11-14 10:56:56 +01:00
Marvin von Rappard
eb0686fe20 feat: slack notifications 2024-11-12 22:37:55 +01:00
peaklabs-dev
1c5ddab30d
use one constants file 2024-11-12 15:18:48 +01:00
Andras Bacsai
d7cde676d5 feat: check local horizon scheduler deployments 2024-11-11 23:35:48 +01:00
Andras Bacsai
1faa8be615 fix: cloud + stripe related 2024-11-11 22:18:15 +01:00
Andras Bacsai
e6a0d8b855 fix 2024-11-11 16:37:12 +01:00
Andras Bacsai
cb433dddc4 version++ 2024-11-11 15:00:37 +01:00
Andras Bacsai
b379e50d90 feat: custom nginx configuration for static deployments + fix 404 redirects in nginx conf 2024-11-11 14:37:36 +01:00
Andras Bacsai
376a2341af refactor scheduled task job (and related stuffs) 2024-11-07 11:09:38 +01:00
Andras Bacsai
2b518e2291 refactor a few jobs 2024-11-07 09:16:58 +01:00
Andras Bacsai
33519bf629 fix: run resourceCheck after new serviceCheckJob 2024-11-07 09:13:19 +01:00
Andras Bacsai
275edb6c1f put a few things on high queue 2024-11-06 12:33:56 +01:00
Andras Bacsai
ff6f089483 feat: add --gpu support for custom docker command 2024-11-06 10:13:40 +01:00
Andras Bacsai
f3c35c7acc fix: do not overlap servercheckjob 2024-11-05 13:59:13 +01:00
Andras Bacsai
5ce6c3ded1 refactor server limit check job + email notifications view 2024-11-05 11:22:23 +01:00
Andras Bacsai
6987951efe add new resource check to kernel.php 2024-11-03 14:53:44 +01:00
Andras Bacsai
ed03cd33b0 fix: only run server storage every 10 mins if sentinel is not active 2024-11-03 09:10:36 +01:00
Andras Bacsai
ca7c214775 fix: new way to update container statuses 2024-11-03 09:02:14 +01:00
Andras Bacsai
0c77a826c3 Refactor ServerCheckJob to remove unused properties and improve performance 2024-11-02 12:38:38 +01:00
Lucas Michot
1ec224fde1 Inline many variables. 2024-10-31 18:20:11 +01:00
Lucas Michot
8e1444eaa7 Get rid of many useless blank lines 2024-10-31 17:44:01 +01:00
Lucas Michot
601f1a4717 Always prefer stricter string comparisons. 2024-10-31 15:23:19 +01:00
Andras Bacsai
8fbd0b44d5 Refactor Server model to remove SSH multiplexing file and add ServerCleanupMux job
- Remove SSH multiplexing file from the Server model
- Add ServerCleanupMux job to cleanup multiplexed connections every hour
2024-10-30 21:33:06 +01:00
Andras Bacsai
96ca72fcdb refactor server view (phuuu) 2024-10-30 20:03:30 +01:00
Andras Bacsai
491b228580 remove unused job 2024-10-29 20:56:58 +01:00
Andras Bacsai
bb7184b3ff
Merge pull request #4041 from lucasmichot/feat/try-catch
Remove some useless `catch` blocks
2024-10-28 21:15:08 +01:00
Lucas Michot
c5403b0b3f Always prefer ::class notation 2024-10-28 14:56:13 +01:00
Lucas Michot
5b6e466e0c Remove some useless catch blocks 2024-10-28 14:37:00 +01:00
Lucas Michot
d557a22b91 Remove all ray() calls 2024-10-28 13:51:23 +01:00
Andras Bacsai
29ad965656 Refactor code to use loggy() function for server storage check logging 2024-10-25 17:46:39 +02:00
Andras Bacsai
8c96ab52d7 feat: notification rate limiter
fix: limit server up / down notification limits
2024-10-25 15:13:23 +02:00
Andras Bacsai
fb75741aa8 add sentinel check to servercheckjob 2024-10-25 12:02:41 +02:00
Andras Bacsai
ba86a75c4f Refactor ServerStatusJob to remove unnecessary coolify.yaml file 2024-10-25 11:41:29 +02:00
Andras Bacsai
2bea26584a Refactor StartSentinel handle method to include latest version parameter 2024-10-25 11:41:25 +02:00
Andras Bacsai
621e063bf1 Refactor PushServerUpdateJob to implement ShouldBeEncrypted interface 2024-10-24 15:16:00 +02:00
Andras Bacsai
55f4e77d66 Refactor ServerStorageCheckJob handle method to improve error handling and messaging 2024-10-24 15:10:07 +02:00
Andras Bacsai
d55b444bb8 Refactor ServerStorageCheckJob handle method to improve error handling and messaging 2024-10-24 15:08:22 +02:00
Andras Bacsai
1f221d9791 fix: sentinel config changes restarts sentinel 2024-10-22 14:10:36 +02:00
Andras Bacsai
ac768e5313 feat: limit storage check emails
feat: sentinel should send storage usage
2024-10-22 14:01:36 +02:00
Andras Bacsai
5c93780304 remove unnecessary code 2024-10-22 12:01:46 +02:00
Andras Bacsai
537630acc6 Refactor PushServerUpdateJob to handle container restart notifications 2024-10-22 11:42:24 +02:00
Andras Bacsai
d7efe8a6d1 fix: no sentinel for swarm yet 2024-10-22 11:29:43 +02:00
Andras Bacsai
dbdb9e6f10
Merge branch 'next' into main 2024-10-21 20:56:02 +02:00
Andras Bacsai
52caa045c9
Merge branch 'next' into proxy-fixes 2024-10-21 15:08:13 +02:00
Andras Bacsai
2809083f61 Refactor Redis password handling and migration to use environment variables 2024-10-21 13:43:34 +02:00
Andras Bacsai
e8c7d7f972 fix: pull helper image on helper_version change 2024-10-21 12:06:13 +02:00
Andras Bacsai
4c95647b96 feat: cleanup sentinel on server deletion
fix: Sentinel should not be enabled on build servers
2024-10-17 11:21:43 +02:00
Andras Bacsai
2702fbc284 Refactor logging in PushServerUpdateJob, Application, and SentinelSeeder 2024-10-15 17:03:50 +02:00
Andras Bacsai
d446cd4f31 sentinel updates 2024-10-15 13:39:19 +02:00
Andras Bacsai
81db57002b Refactor PushServerUpdateJob to handle multiple servers, previews, and emails 2024-10-14 22:53:16 +02:00
peaklabs-dev
8635f92ed4
Remove duplicated proxy check 2024-10-14 21:35:38 +02:00
Andras Bacsai
fdeb9353be chore: Update project service configuration view 2024-10-14 19:45:03 +02:00
Andras Bacsai
1f72321681 fix: sentinel 2024-10-14 18:04:36 +02:00
Andras Bacsai
8a2c9f3d44 updates sentinel 2024-10-14 17:54:29 +02:00
Andras Bacsai
b2e515f770 sentinel 2024-10-14 13:32:36 +02:00
Andras Bacsai
1f193d465d sentinel updates 2024-10-14 12:07:37 +02:00
Jakubko
81f292c4f3
Merge branch 'coollabsio:main' into main 2024-10-13 22:02:15 +02:00
Andras Bacsai
d84d0a816b chore: Refactor DatabaseBackupJob to handle missing team 2024-10-03 20:51:18 +02:00
Andras Bacsai
1c7ca56756 feat: backup all databases for mysql,mariadb,postgresql 2024-10-03 12:39:45 +02:00
Andras Bacsai
059535a676 chore: Remove commented out code for uploading to S3 in DatabaseBackupJob 2024-10-02 16:43:01 +02:00
Andras Bacsai
765a74ca4f handle errors in databasebackupjob 2024-10-02 15:33:14 +02:00
Andras Bacsai
dd782e75f5 fix: local dev s3 uploads
fix: hetzner s3 uploads (mc alias instead of mc host)
2024-10-02 11:45:30 +02:00
Jakubko
e0241505f9
Merge branch 'coollabsio:main' into main 2024-10-01 22:08:32 +02:00
Andras Bacsai
5cd81fe255 wip: server storage check 2024-10-01 11:52:36 +02:00
Andras Bacsai
e4108863a8 chore: Remove unnecessary code in DatabaseBackupJob.php 2024-10-01 10:43:04 +02:00
Andras Bacsai
83549965ca Refactor instanceSettings() function for improved code readability 2024-10-01 10:37:40 +02:00
Andras Bacsai
9212f3b24c feat: Update resource deletion job to allow configurable options through API 2024-10-01 09:02:16 +02:00
Andras Bacsai
987b90ead2 fix: new dev volumes and service files
fix: new parser version (4) that will fix data layout (applications goes to /applications, services goes to /services)
2024-09-30 14:16:37 +02:00
Jakub Novák
9e2f0fb894 updated namespace for DiscordMessage 2024-09-30 10:06:50 +02:00
Jakub Novák
a2bca3d5b8 added embedded Discord messages logic 2024-09-30 00:43:35 +02:00
Andras Bacsai
65356e9bae fixes 2024-09-27 16:43:07 +02:00
Andras Bacsai
9a766aedc1
Merge branch 'next' into improve-cleanup 2024-09-27 16:40:48 +02:00
Andras Bacsai
dedf2cf87b fix: proxy fixes 2024-09-27 15:36:51 +02:00
Andras Bacsai
0bb1f57ea7 fix: deploy key based deployments 2024-09-26 12:19:49 +02:00
Andras Bacsai
62459f9a95 refactor: Remove unused code in DatabaseBackupStatusJob and PopulateSshKeysDirectorySeeder 2024-09-24 11:57:13 +02:00
Andras Bacsai
57d8930f9e chore: Update cleanup command to use Redis instead of queue 2024-09-23 23:48:12 +02:00
Andras Bacsai
b570ccd7d3 format 2024-09-23 19:51:31 +02:00
Andras Bacsai
04e504bb8b chore: Refactor DockerCleanupJob to remove unused middleware and uniqueId method 2024-09-23 12:10:46 +02:00
Andras Bacsai
960f970822 chore: Remove unused middleware and uniqueId method in DockerCleanupJob 2024-09-23 12:03:14 +02:00
peaklabs-dev
ff5e445b43
Feat: Manual cleanup button and unused volumes and network deletion 2024-09-22 20:02:51 +02:00
Andras Bacsai
f9238ce263
Merge pull request #3509 from coollabsio/delete-unused-ssh-keys
Feat: Delete unused ssh keys button
2024-09-20 13:00:54 +02:00
Andras Bacsai
f1881d5c35 refactor: Update CleanupHelperContainersJob to use more efficient Docker command 2024-09-20 10:08:37 +02:00
peaklabs-dev
dbc723089b
Feat: Delete unused private keys button 2024-09-19 19:27:25 +02:00
Andras Bacsai
240352f4b2
Merge pull request #3504 from coollabsio/fix-ssh-keys
Fix ssh keys
2024-09-19 12:44:56 +02:00
Andras Bacsai
631b4e6438
Merge branch 'next' into fix-ssh-keys 2024-09-19 11:45:12 +02:00
Andras Bacsai
d47bd047bf fixes 2024-09-19 11:24:21 +02:00
Andras Bacsai
182087cf1b a few changes here and there 2024-09-18 21:18:47 +02:00
peaklabs-dev
8153e2f63b
Merge branch 'coollabsio:main' into fix-ssh-keys 2024-09-18 20:43:59 +02:00
Andras Bacsai
5ec45d547a
Merge branch 'next' into fix-#2546-deletion-issues 2024-09-18 18:05:06 +02:00
Andras Bacsai
12a8e9b0e1 fix: only update helper image in DB 2024-09-17 17:29:42 +02:00
peaklabs-dev
42ff7b19a4
Fix: Few multiplexing things 2024-09-17 15:54:22 +02:00
peaklabs-dev
ea3501ada6
Fix: SSH Multiplexing for Jobs 2024-09-17 15:31:05 +02:00
peaklabs-dev
2bc74c75e1
Remove duplicated code 2024-09-17 14:43:02 +02:00
peaklabs-dev
95070ab48d
Feat: SSH Key cleanup job 2024-09-17 12:57:06 +02:00
peaklabs-dev
144508218e
Fix: SSH multiplexing 2024-09-17 12:26:11 +02:00
peaklabs-dev
86722939cd
Fix. Remove write to SSH key on every remote command execution 2024-09-16 21:34:27 +02:00
Andras Bacsai
d44e3a1091 chore: Update docker network connection command in ApplicationDeploymentJob.php 2024-09-16 16:38:34 +02:00
Andras Bacsai
175b89ced2 revert: databasebackup 2024-09-16 14:15:06 +02:00
Andras Bacsai
2313fed546 fix: add build.sh to debug logs 2024-09-16 11:50:03 +02:00
Andras Bacsai
dd8a2dd3c1 chore: Update coolify environment variable assignment with double quotes 2024-09-13 08:23:05 +02:00
Andras Bacsai
8712af7379 fix: move mc command to coolify image from helper 2024-09-12 09:42:28 +02:00
Andras Bacsai
5d476e3924 chore: Update server check job middleware to use server ID instead of UUID 2024-09-11 14:23:19 +02:00
Andras Bacsai
d57c9d8aa0 feat: add elixir finetunes to the deployment job 2024-09-10 12:44:16 +02:00
Andras Bacsai
c2f7e85022
Merge pull request #3364 from peaklabs-dev/improve-persist-ssh-sessions
Feat: Implement SSH multiplexing to reduce the number of SSH authentications in remote processes
2024-09-09 11:23:24 +02:00
peaklabs-dev
28bcd0023c
remove cache 2024-09-09 10:33:57 +02:00
Andras Bacsai
40347744e0 chore: Set timeout for ServerCheckJob to 60 seconds 2024-09-09 09:08:43 +02:00
Andras Bacsai
060988d923 fix: reenable overlapping servercheckjob 2024-09-09 09:05:40 +02:00
peaklabs-dev
4f9e1a3e5e
Feat: Cleanup stale multiplexing connections 2024-09-08 19:37:00 +02:00
peaklabs-dev
a882d3c713
code cleanup 2024-09-07 12:25:50 +02:00
peaklabs-dev
6010b3209d
remove duplicated code 2024-09-07 12:23:15 +02:00
peaklabs-dev
504133232a
Improve logic, made it simpler 2024-09-07 12:19:40 +02:00
peaklabs-dev
d816863d31
Fix: Pull helper image if not available otherwise s3 backup upload fails 2024-09-07 11:48:20 +02:00
ayntk-ai
fc3c69f687
Feat: more conformations and fixes 2024-09-05 17:54:32 +02:00
Andras Bacsai
3aa31f3da6 fix: Update helper image pulling logic to only pull if the version is newer 2024-09-05 11:44:33 +02:00
Andras Bacsai
645337b09c
Merge pull request #3264 from Vahor/install-log-drain-spam
fix: don't check logDrain installation if it's not enabled
2024-09-05 11:40:22 +02:00
Andras Bacsai
d211362ab3 improvement: only pull helper image if the version is newer than the one 2024-09-05 11:04:58 +02:00
Andras Bacsai
4888f4c405 refactor: upgrade process of Coolify 2024-09-05 10:15:22 +02:00
Vahor
0dad77af33
save versions.json during CheckForUpdatesJob 2024-09-04 21:25:45 +02:00
Nathan
f43298a610
Merge branch 'next' into pull-coolify-only-on-updates 2024-09-04 19:43:16 +02:00
Vahor
02f950edc7
fix: pull coolify image only when the app needs to be updated 2024-09-04 19:38:13 +02:00
Andras Bacsai
04ce622465 refactor: Update build_args property type in ApplicationDeploymentJob 2024-09-04 11:34:31 +02:00
Vahor
bf475e538c
don't check logDrain installation if it's not enabled 2024-08-30 17:29:25 +02:00
Andras Bacsai
5e4eb7dead feat: add coolify build env variables to building phase 2024-08-29 15:49:22 +02:00
Andras Bacsai
301a3596e8 refactor: Update environment variable handling in StartClickhouse.php and ApplicationDeploymentJob.php 2024-08-29 15:11:54 +02:00
Andras Bacsai
e7b050a4da
Merge branch 'next' into env-vars 2024-08-29 14:35:04 +02:00
Andras Bacsai
cfc6518157 refactor: Update parse method in Advanced, All, ApplicationPreview, General, and ApplicationDeploymentJob classes 2024-08-29 12:39:37 +02:00
Andras Bacsai
5525c02c7f fix: delete preview deployments + cleanup stucked
fix: parser
2024-08-28 22:05:49 +02:00
Andras Bacsai
be8a8bf2ee fix: parser
feat: new coolify envs for fqdn and urls
2024-08-28 18:12:00 +02:00
Vahor
f6d649307c
test add_coolif_default_environment_variables 2024-08-28 13:30:59 +02:00
Vahor
b51065a003
add generate_fluentd_configuration() method in shared 2024-08-28 13:00:33 +02:00
Vahor
7103dccc72
add env vars for compose base apps 2024-08-27 19:09:04 +02:00
Vahor
eb22155dcc
send new vars to logdrain 2024-08-27 18:41:33 +02:00
Vahor
49a53236b0
add env vars 2024-08-27 18:41:19 +02:00
ayntk-ai
4726676248
make things more clear 2024-08-27 14:19:37 +02:00
Andras Bacsai
b8ff0540e2
Merge branch 'next' into set-server-timzone-setting 2024-08-26 13:21:21 +02:00
Andras Bacsai
3d73c98779 fix: docker cleanup job 2024-08-26 12:23:03 +02:00
Andras Bacsai
d748d8b7c6
Merge branch 'next' into auto-cleanup-improvements 2024-08-26 11:13:40 +02:00
Andras Bacsai
040115d6b1
Merge pull request #3113 from djsisson/preview-build-env-var
fix bug in preview build env vars
2024-08-26 10:55:36 +02:00
Andras Bacsai
cb39544808 refactor: Remove unnecessary code in DatabaseBackupJob and BackupExecutions 2024-08-26 10:32:05 +02:00
Andras Bacsai
d0ce31c9e0
Merge pull request #3215 from bohdan-shulha/patch-1
Avoid crash if the team is not set
2024-08-26 09:46:28 +02:00
Bohdan Shulha
f98805c68b
Avoid crash if the team is not set 2024-08-24 13:04:33 +02:00
Andras Bacsai
fe89269b4b rename parser functions 2024-08-23 20:57:22 +02:00
Andras Bacsai
af1b479d73 fix: parser
ui: storage layout changed
2024-08-23 14:21:12 +02:00
Andras Bacsai
1e24ab9146 fix: parser parser parser 2024-08-22 15:05:04 +02:00
Andras Bacsai
7d7cdf41f7 fix: storages with preserved git repository 2024-08-21 14:31:17 +02:00
Andras Bacsai
3f9f197282 fix: docker cleanup job 2024-08-21 10:50:05 +02:00
ayntk-ai
012c23586d
rename to docker cleanup and and feedback implementation 2024-08-18 23:16:59 +02:00
Darren Sisson
f3df26ea9a fix bug in preview build env vars 2024-08-17 22:05:10 +01:00
ayntk-ai
48734e53d0
formatting 2024-08-16 21:22:06 +02:00
ayntk-ai
dab5f0fe09
add logic 2024-08-16 16:01:41 +02:00