Commit Graph

3619 Commits

Author SHA1 Message Date
peaklabs-dev
2fbb898c89 feat(ssl): regenerate SSL certs job 2025-02-03 22:37:12 +01:00
peaklabs-dev
fba95c3729 fix(migration): store subjectAlternativeNames as a json array in the db 2025-02-03 22:35:00 +01:00
🏔️ Peak
f871c1067b Merge branch 'next' into feat-db-ssl 2025-02-03 22:20:51 +01:00
peaklabs-dev
72a2f79d88 feat(ssl): improve ssl generation
- add default state and country
- rename parameters for more clarity
- set subjectAltName
- delete old certificate before creating new one
- Set CN and subjectAltNames in DB for automatic renewal
2025-02-03 22:11:29 +01:00
peaklabs-dev
9d9fbd6859 feat(databases): add CA SSL crt location to Postgres URLs 2025-02-03 22:06:53 +01:00
peaklabs-dev
498bf04559 feat(migration): add CN and alternative names to DB 2025-02-03 22:05:32 +01:00
peaklabs-dev
5f357e3d92 fix(database): fix volume and file mounts and naming
- fix: Volume and file mounts are unmounted if there are more than 1
- rename the crt and key to server key and crt to follow best practices
- move crt and key to a more standardized location
2025-02-03 22:03:45 +01:00
Andras Bacsai
f4575e531f fix(backup): escape special characters in database backup commands 2025-02-03 21:49:13 +01:00
peaklabs-dev
a1e650e699 chore: rename ca crt folder to ssl 2025-02-03 21:42:28 +01:00
Andras Bacsai
c45c64a1a1 fix(ui): always redirect to dashboard after team switch 2025-02-03 21:38:40 +01:00
Andras Bacsai
035db67180 Merge pull request #5036 from sistracia/next
fix(api): domain check when updating domain
2025-02-03 21:28:42 +01:00
Andras Bacsai
1e9a4aa5b6 fix(core): remove --remove-orphans flag from proxy startup command to prevent other proxy deletions (db) 2025-02-03 21:24:27 +01:00
Andras Bacsai
2a03544593 fix(core): stopping database is not disabling db proxy 2025-02-03 21:23:43 +01:00
Andras Bacsai
0ff7c468c8 fix(ui): skip SERVICE_FQDN and SERVICE_URL variables during update 2025-02-03 15:44:15 +01:00
sistracia
43e8d17197 fix(api): domain check when updating domain 2025-02-02 14:52:05 +07:00
peaklabs-dev
7406ee67c2 chore(ssl): rename CA cert to coolify-ca.crt because of conflicts 2025-01-31 18:27:20 +01:00
Andras Bacsai
83f0f9fca4 fix(core): improve public repository URL parsing for branch and base directory 2025-01-31 18:17:00 +01:00
peaklabs-dev
85c777d2a4 feat(ssl): use new improved helper for SSL generation
- use CA cert and key for SSL cert generation
- remove unused parameters
- add a few more echo with log output
2025-01-31 13:56:20 +01:00
peaklabs-dev
02475c5232 feat(ssl): improve SSL helper
- improve function parameters
- set default validity to 1 year as resources need to be manually restarted to use the new certificates
- use the CA cert to sign certificates
2025-01-31 13:37:34 +01:00
peaklabs-dev
34216af497 fix(db): SSL certificates table and model
- server_id is a foreign id
- server_id must be unique as each server can only have 1 CA cert
- resource_id must be unique as each resource can only have 1 SSL cert
2025-01-31 12:35:34 +01:00
peaklabs-dev
0915303769 feat(ssl): Add Coolify CA Certificate when adding a new server 2025-01-31 12:27:29 +01:00
peaklabs-dev
e1245f49f1 fix(ui): select component should not always uses title case 2025-01-31 11:57:30 +01:00
peaklabs-dev
34188450eb feat(ssl): improve SSL helper
- improve security by making certificates valid for only 90 days instead of 10 years
- add SubjectAltName
- remove unnecessary parameters
- use carbon immutable to make sure expiration date stays the same
2025-01-30 19:52:21 +01:00
peaklabs-dev
d280f11b6b feat(ssl): migrate to ECCcertificates using secp521r1
- Replace RSA 4096 with ECDSA secp521r1 for stronger security (256-bit vs 112-bit)
- Faster certificate generation (3-4x speed improvement)
- 75% smaller key sizes (0.8KB vs 3.2KB) improves storage and transmission
2025-01-30 19:21:18 +01:00
peaklabs-dev
546001890c chore(ssl): improve code in ssl helper 2025-01-30 14:37:12 +01:00
peaklabs-dev
3632f29af8 feat(ssl): ssl generation helper 2025-01-30 14:17:12 +01:00
peaklabs-dev
2ac9147532 chore(migration): remove unused columns 2025-01-30 14:16:52 +01:00
peaklabs-dev
429453af36 fix(ui): make sure file mounts do not showing the encrypted values 2025-01-30 14:16:27 +01:00
peaklabs-dev
9f9349925a fix(ssl): permission of ssl crt and key inside the container 2025-01-30 12:58:48 +01:00
peaklabs-dev
b124904245 feat(db): setup ssl during Postgres start
- create ssl directory
- create a new certificate if one does not already exist
- add the certificates to the file store so that they are created as file mounts
- add SSL startup commands
2025-01-29 13:30:45 +01:00
peaklabs-dev
92a4b5fce7 feat(db): add ssl mode to Postgres URLs 2025-01-29 13:28:42 +01:00
peaklabs-dev
875d1d49bb feat(ui): Add ssl settings to Postgres ui 2025-01-29 13:25:05 +01:00
peaklabs-dev
3f582a1ea4 feat(migration): Add ssl_certificates table and model 2025-01-29 13:03:13 +01:00
Andras Bacsai
a764a07e7e revert: remove Cloudflare async tag attributes 2025-01-28 14:38:55 +01:00
Andras Bacsai
98a9985dce feat(vite): add Cloudflare async script and style tag attributes 2025-01-28 14:30:11 +01:00
Andras Bacsai
55fb4e5d20 Merge pull request #4945 from nktnet1/feat-env-coolify-resource-uuid
feat(env): added COOLIFY_RESOURCE_UUID environment variable
2025-01-28 13:46:17 +01:00
Andras Bacsai
e9fd2d8d6f feat(core): add dynamic label reset for application settings 2025-01-28 13:38:26 +01:00
Andras Bacsai
1ec15af1ad fix(database): adjust MongoDB restore command and import view styling 2025-01-28 12:41:22 +01:00
Andras Bacsai
d8877884d7 Merge pull request #4933 from nktnet1/fix-coolify-env-quotes
fix: remove quotes in COOLIFY_CONTAINER_NAME
2025-01-28 11:24:19 +01:00
Andras Bacsai
cd0320f392 Merge pull request #4938 from hederson/fix-swarm-proxy
Fix swarm proxy and detach param
2025-01-28 11:11:56 +01:00
Andras Bacsai
e049559e53 fix(database): detect more postgres database image types 2025-01-28 11:05:50 +01:00
Andras Bacsai
8f1bde2534 fix(core): check cron expression on save 2025-01-28 11:01:50 +01:00
Andras Bacsai
497a7ac15a Merge pull request #4990 from esarbanis/cron-validation-on-update
fix: validate cron expression in Scheduled Task update
2025-01-28 11:00:53 +01:00
Andras Bacsai
bfe4200012 fix: cleanup old scheduled_task_executions 2025-01-28 10:19:41 +01:00
Efthymis Sarmpanis
01b9cbdfea fix: validate cron expression in Scheduled Task update 2025-01-27 22:50:54 +02:00
Andras Bacsai
fddaf9134d fix: disable certain parts if readonly label is turned off 2025-01-27 14:05:18 +01:00
peaklabs-dev
d5504ea546 refactor(s3): improve S3 bucket endpoint formatting
- remove the bucket name from the DigitalOcean endpoint
- always add https in front if it is not http or already https
2025-01-25 23:44:12 +01:00
peaklabs-dev
12c7ee2879 fix(s3): DigitalOcean storage buckets do not work 2025-01-25 23:40:40 +01:00
peaklabs-dev
91d90ccb6c fix(ui): Cloudflare tunnel configuration should be an info, not a warning 2025-01-24 20:02:31 +01:00
Khiet Tam Nguyen
a55d1996d7 feat(env): added COOLIFY_RESOURCE_UUID environment variable 2025-01-24 22:04:34 +11:00