Commit graph

600 commits

Author SHA1 Message Date
peaklabs-dev
8f2b45c8b5
fix(ssl): use 1 instead of on for mysql 2025-02-04 20:52:23 +01:00
peaklabs-dev
80fc7c7b97
fix(ssl): use mountPath parameter not a hardcoded path 2025-02-04 18:31:09 +01:00
peaklabs-dev
3f857c6dac
feat(ssl): Add full MySQL SSL Support 2025-02-04 18:29:35 +01:00
peaklabs-dev
d6a39f2ed3
fix(ssl): always create ca crt on disk even if it is already there 2025-02-04 16:57:40 +01:00
peaklabs-dev
3c62130e86
fix(ssl): improve SSL cert file mounts
- If SSL is disabled, delete the SSL crt and file mounts in the DB
- If SSL is disabled, delete the SSL folder
- If SSL is enabled, make sure the file mounts are added inside the helper
- remove old file mounts first to make sure the ssl crt content is always up to date and no duplicates are added
2025-02-04 16:34:24 +01:00
Andras Bacsai
d632eb2be9 refactor: simplify service start and restart workflows 2025-02-04 14:34:34 +01:00
🏔️ Peak
f871c1067b
Merge branch 'next' into feat-db-ssl 2025-02-03 22:20:51 +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
peaklabs-dev
a1e650e699
chore: rename ca crt folder to ssl 2025-02-03 21:42:28 +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
peaklabs-dev
7406ee67c2
chore(ssl): rename CA cert to coolify-ca.crt because of conflicts 2025-01-31 18:27:20 +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
0915303769
feat(ssl): Add Coolify CA Certificate when adding a new server 2025-01-31 12:27:29 +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
Hederson Boechat
071cabdc31 fix(proxy) update traefik proxy config for docker swarm 2025-01-23 11:57:34 -03:00
peaklabs-dev
7bdef134e6
feat: get command and output for logs from CleanupDocker 2025-01-15 19:54:58 +01:00
Andras Bacsai
dd2d306abc feat: force deployment of services
fix: added advanced ui dropdown to services
2025-01-13 12:03:03 +01:00
Darren Sisson
a5199c6e1a fix make public in supabase 2025-01-09 17:06:57 +00:00
Andras Bacsai
1fe4dd722b Revert "rector: arrrrr"
This reverts commit 16c0cd10d8.
2025-01-07 15:31:43 +01:00
Andras Bacsai
16c0cd10d8 rector: arrrrr 2025-01-07 14:52:08 +01:00
Andras Bacsai
340075a684
Merge pull request #4324 from JuliensForks/main
feat: add some new labels to every container
2024-12-18 12:55:33 +01:00
Andras Bacsai
33ae10a6dc fix 2024-12-18 10:44:56 +01:00
🏔️ Peak
12a48a1439
Merge branch 'next' into fix-postgres-init-scripts 2024-12-09 19:50:54 +01:00
Andras Bacsai
e84dba493e fix 2024-12-06 13:39:00 +01:00
🏔️ Peak
7328724f3d
Merge branch 'coollabsio:main' into fix-postgres-init-scripts 2024-12-04 13:15:58 +01:00
Andras Bacsai
ec9315f24e remove unnecessary things 2024-12-03 14:09:51 +01:00
Andras Bacsai
319c3023dc fix 2024-12-02 22:50:03 +01:00
Andras Bacsai
58988d3686 fix: a few inputs 2024-12-02 22:50:03 +01:00
Andras Bacsai
37d4d5f98c fix: version should come from constants + fix stripe webhook error reporting 2024-11-25 11:28:08 +01:00
Andras Bacsai
7d089ba1a9 fix: validateconnection 2024-11-22 15:50:52 +01:00
Andras Bacsai
7dc65dfd79 fix: make sure important jobs/actions are running on high prio queue 2024-11-22 11:16:01 +01:00
Andras Bacsai
9dd982b722 CoolifyTask should be on high queue 2024-11-21 20:13:46 +01:00
Julien
8b30123add feat: add service/resource/project labels 2024-11-17 23:06:05 +01:00
peaklabs-dev
d3f4e0ad4d
Delete CheckResaleLicense.php 2024-11-12 15:29:55 +01:00
peaklabs-dev
1c5ddab30d
use one constants file 2024-11-12 15:18:48 +01:00
peaklabs-dev
408ba9cc7a
fix docker minimum version 2024-11-12 13:27:26 +01:00
Andras Bacsai
f0985a7e47 fix horizon command name 2024-11-12 10:16:34 +01:00
Andras Bacsai
d7cde676d5 feat: check local horizon scheduler deployments 2024-11-11 23:35:48 +01:00
Andras Bacsai
47e9e69ce0 fixes 2024-11-10 22:07:41 +01:00
Andras Bacsai
60de7dc711 fix: upgrade.sh 2024-11-10 21:44:34 +01:00
Andras Bacsai
704e25100a fix: manual update should be executed only once + better UX 2024-11-10 21:26:52 +01:00
Andras Bacsai
a2b6a61c4a fix: update last online with old function 2024-11-08 09:43:46 +01:00
Andras Bacsai
e69b0ca1a9 disable tcp proxy notification 2024-11-08 09:18:43 +01:00
Andras Bacsai
4ce8d04a13 fix: mongodb in dev 2024-11-07 11:42:33 +01:00
Andras Bacsai
695ab93cf0 fixes 2024-11-06 15:16:12 +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
7fb1a1fc75 fix: use Auth(), add new db proxy stop event refactor clickhouse view 2024-11-04 14:18:16 +01:00
Andras Bacsai
63cff9e399 fix: lower case emails only 2024-11-03 15:30:45 +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
e4d20c1d02 add database labels 2024-11-02 14:04:59 +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
0c133b113c Delete some useless imports 2024-10-31 16:33:49 +01:00
Andras Bacsai
96ca72fcdb refactor server view (phuuu) 2024-10-30 20:03:30 +01:00
Andras Bacsai
74411e89e6 feat: debug mode for sentinel 2024-10-29 10:48:49 +01:00
Andras Bacsai
c2a2757103 fix: restart sentinel once a day 2024-10-29 10:28:05 +01:00
Jeremy Angele
6842904cb5 Remove deprecated fortify password policy and add a stricter one 2024-10-28 21:57:00 +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
dd3aeb1023 stop logdrain before restarting it 2024-10-25 17:29:56 +02:00
Andras Bacsai
c099936e76 Refactor StartSentinel handle method to use consistent variable naming conventions 2024-10-25 11:43:55 +02:00
Andras Bacsai
2bea26584a Refactor StartSentinel handle method to include latest version parameter 2024-10-25 11:41:25 +02:00
Andras Bacsai
b1d2914c08 Refactor function and configuration names for experimental features 2024-10-24 22:00:26 +02:00
Andras Bacsai
0c34e81b2b fix: add experimental flag 2024-10-24 21:48:51 +02:00
Andras Bacsai
96ea755a53 fix: Disable Sentinel temporarily for non-dev environments 2024-10-24 12:50:07 +02:00
Andras Bacsai
befdb71671 fix: Disable Sentinel temporarily 2024-10-24 11:35:38 +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
b282c8412c Refactor StartSentinel to handle build servers 2024-10-22 11:40:44 +02:00
Andras Bacsai
d7efe8a6d1 fix: no sentinel for swarm yet 2024-10-22 11:29:43 +02:00
Andras Bacsai
52caa045c9
Merge branch 'next' into proxy-fixes 2024-10-21 15:08:13 +02:00
Andras Bacsai
056758e3ff
Merge pull request #3184 from peaklabs-dev/fix-redis-db-ui
Fix: Redis DB UI
2024-10-21 10:00:20 +02:00
peaklabs-dev
18201ece00
fix remove postgres config if it is null or not set 2024-10-18 21:17:57 +02:00
peaklabs-dev
1ec3caf9e3
fix: if an init script is renamed the old version is still on the server 2024-10-18 21:07:23 +02:00
Andras Bacsai
b75c2dc604 pint 2024-10-17 22:08:23 +02:00
Andras Bacsai
2315bdb93f ui updates on server 2024-10-17 14:56:36 +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
peaklabs-dev
6f97d589ae
feat: variabel sync and support shared vars 2024-10-16 13:29:13 +02:00
peaklabs-dev
5274ae1f0b
fix: check for username separately form password 2024-10-15 17:23:33 +02:00
peaklabs-dev
79caa3c26b
fix: allow setting standalone redis variables via ENVs (team variables...) 2024-10-15 17:02:37 +02:00
peaklabs-dev
c6e2c7e5e3
fix start command 2024-10-15 16:35:20 +02:00
peaklabs-dev
902cde5905
improve custom redis.conf 2024-10-15 16:19:04 +02:00
Andras Bacsai
8c53af088e Refactor StartSentinel.php to use data_get() for retrieving server settings 2024-10-15 15:45:02 +02:00
Andras Bacsai
d446cd4f31 sentinel updates 2024-10-15 13:39:19 +02:00
Andras Bacsai
740419806e Refactor StartSentinel to ensure endpoint uses HTTPS 2024-10-14 22:35:18 +02:00
peaklabs-dev
8635f92ed4
Remove duplicated proxy check 2024-10-14 21:35:38 +02:00
Andras Bacsai
bea492165f sentinel updates 2024-10-14 21:05:33 +02:00
Andras Bacsai
1f193d465d sentinel updates 2024-10-14 12:07:37 +02:00
Andras Bacsai
c137620b81 chore: update Docker version to 26.0 2024-10-14 10:29:45 +02:00
Andras Bacsai
974b4b92c1 wip: coolify.json 2024-10-08 15:11:19 +02:00
Andras Bacsai
4f4453b17c chore: Update proxy configuration paths for Caddy and Nginx in dev 2024-10-04 13:46:33 +02:00
Andras Bacsai
ce49f4806d fix: proxy conf in dev 2024-10-04 13:25:17 +02:00
Andras Bacsai
5f07b473e9 fix: parse proxy config and check the set ports usage 2024-10-03 21:29:55 +02:00
Andras Bacsai
83549965ca Refactor instanceSettings() function for improved code readability 2024-10-01 10:37:40 +02:00
Andras Bacsai
88c2b1e841
Merge pull request #3609 from peaklabs-dev/fix-2185
Fix: Remove memlock from dragonfly DB as it caused problems for some users
2024-09-30 12:18:38 +02:00
Andras Bacsai
fe20480fdc fix: proxy 2024-09-28 11:14:14 +02:00
peaklabs-dev
b99474ac73
Fix: Remove memlock as it caused problems for some users 2024-09-27 17:38:34 +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
6c78580f1f refactor: Improve start proxy script to handle existing containers gracefully 2024-09-27 15:27:05 +02:00
Andras Bacsai
d6b4e33db3 fix: exited services statuses 2024-09-24 20:40:41 +02:00
Andras Bacsai
eb80a7e2f7 chore: Update Docker commands to start proxy 2024-09-24 10:53:12 +02:00
Andras Bacsai
688c27c901 fix: cloudflare tunnel configuration, ui, etc 2024-09-23 23:18:23 +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
peaklabs-dev
164a213ab1
Fix: force helper image removal 2024-09-22 20:36:41 +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
631b4e6438
Merge branch 'next' into fix-ssh-keys 2024-09-19 11:45:12 +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
peaklabs-dev
ea3501ada6
Fix: SSH Multiplexing for Jobs 2024-09-17 15:31:05 +02:00
peaklabs-dev
144508218e
Fix: SSH multiplexing 2024-09-17 12:26:11 +02:00
Andras Bacsai
682b45a2b5 refactor: Improve Docker network connection command in StartService.php 2024-09-16 16:39:16 +02:00
Vahor
0739e0f5e7
trigger pull helper image job when upgrading coolify 2024-09-15 14:23:57 +02:00
Andras Bacsai
aa30e83f4a fix: delete older versions of the helper image other than the latest one 2024-09-10 11:33:52 +02:00
Vahor
66cf6df4b3
skip docker network creation 2024-09-09 23:46:29 +02:00
Andras Bacsai
87ee3c511c chore: Update docker image pruning command to exclude managed images 2024-09-08 12:38:22 +02:00
ayntk-ai
fc3c69f687
Feat: more conformations and fixes 2024-09-05 17:54:32 +02:00
Andras Bacsai
4888f4c405 refactor: upgrade process of Coolify 2024-09-05 10:15:22 +02:00
Vahor
02f950edc7
fix: pull coolify image only when the app needs to be updated 2024-09-04 19:38:13 +02:00
ayntk-ai
c16e914be4
Fix: DB image cleanup 2024-09-04 14:59:44 +02:00
ayntk-ai
bec974dca4
Fix application image cleanup 2024-09-04 14:54:43 +02:00
ayntk-ai
b314b08f25
Feat: stop service confirm 2024-09-04 14:34:46 +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
43f2f1ef2b fix: if compose file has more that 6 components, force stop
fix: parser
2024-08-28 15:45:11 +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
0cf595e552
remove unused tag 2024-08-27 20:52:51 +02:00
Vahor
c87732b065
revert format 2024-08-27 20:47:17 +02:00
Vahor
2d9c583af3
add env vars on old compose parser 2024-08-27 19:36:22 +02:00
Vahor
a245d16e05
add env vars for db services 😢 2024-08-27 18:57:02 +02:00
Vahor
eb22155dcc
send new vars to logdrain 2024-08-27 18:41:33 +02:00
ayntk-ai
4726676248
make things more clear 2024-08-27 14:19:37 +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
3f9f197282 fix: docker cleanup job 2024-08-21 10:50:05 +02:00
ayntk-ai
5d32bd250b
Fix cleanup Docker according to feedback 2024-08-18 22:41:06 +02:00
Andras Bacsai
f106e6e37b feat: add custom docker container options to all databases 2024-08-16 13:56:47 +02:00
ayntk-ai
adc3346f7b
cleanup docker improvements 2024-08-09 23:27:39 +02:00
ayntk-ai
5b54dc8792
Revert "improve CleanupDocker.php"
This reverts commit b5360e5e75.
2024-08-09 23:25:57 +02:00
ayntk-ai
b5360e5e75
improve CleanupDocker.php 2024-08-09 23:12:30 +02:00