Andras Bacsai
18fe524cdb
fix(database): limit container name length for database proxy
...
Updated the container name generation logic in StartDatabaseProxy to ensure the resulting name does not exceed 32 characters. This change prevents potential issues with container name length restrictions, enhancing the robustness of the database proxy setup.
2025-03-12 16:34:42 +01:00
Andras Bacsai
fa619550c2
fix(database): correct container name generation for service databases
2025-03-12 16:33:00 +01:00
peaklabs-dev
225f24e650
chore: improve code quality suggested by code rabbit
2025-02-19 18:04:58 +01:00
Gauthier A.
0d12b8296e
fix wrong database container name + code simplification
2025-02-19 00:05:46 +01:00
peaklabs-dev
d74c578a4a
fix(ssl): add --tls arg to DrangflyDB
2025-02-11 20:34:45 +01:00
peaklabs-dev
0a738e6bff
fix(ssl): KeyDB port and caCert args are missing
2025-02-11 20:18:19 +01:00
peaklabs-dev
3e95387e10
Full: SSL Support for KeyDB
2025-02-10 21:29:45 +01:00
peaklabs-dev
90e681e24b
feat: Full SSL support for DrangonflyDB
2025-02-10 21:29:20 +01:00
peaklabs-dev
4547647e98
feat(ssl): improve Redis and remove modes
2025-02-10 19:23:39 +01:00
peaklabs-dev
5c12f7273e
feat: New mode implementation for MongoDB
2025-02-10 15:18:29 +01:00
peaklabs-dev
484fc5140b
fix(ssl): rename Redis mode to verify-ca as it is not verify-full
2025-02-08 16:43:15 +01:00
peaklabs-dev
7b30b1aff1
feat(ssl): Full SSL support for Redis
2025-02-07 22:36:36 +01:00
peaklabs-dev
aad717d22f
fix(ssl): permission issue with MariDB cert and key and paths
2025-02-07 21:08:14 +01:00
peaklabs-dev
c1e7a5721e
fix(ssl): adjust ca paths for MySQL
2025-02-07 20:09:11 +01:00
peaklabs-dev
a539bfd765
fix(ssl): server id
2025-02-07 18:45:12 +01:00
peaklabs-dev
6a52f51851
fix(ssl): get caCert correctly
2025-02-07 18:27:30 +01:00
peaklabs-dev
1a4c2c3dc9
fix(ssl): fix MariaDB and MySQL need CA cert
2025-02-06 15:14:57 +01:00
peaklabs-dev
367eebc9fc
feat: Add full SSL support to MongoDB
2025-02-05 22:56:29 +01:00
peaklabs-dev
a3c4f86e80
fix(ssl): do not remove SSL directory
2025-02-05 18:03:55 +01:00
peaklabs-dev
e81ed1aad8
feat(ssl): Add full MariaDB SSL support
2025-02-04 21:08:20 +01:00
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
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
🏔️ 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
Andras Bacsai
2a03544593
fix(core): stopping database is not disabling db proxy
2025-02-03 21:23:43 +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
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
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
🏔️ 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
7dc65dfd79
fix: make sure important jobs/actions are running on high prio queue
2024-11-22 11:16:01 +01:00
Julien
8b30123add
feat: add service/resource/project labels
2024-11-17 23:06:05 +01:00
Andras Bacsai
4ce8d04a13
fix: mongodb in dev
2024-11-07 11:42:33 +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
e4d20c1d02
add database labels
2024-11-02 14:04:59 +01:00
Lucas Michot
c5403b0b3f
Always prefer ::class notation
2024-10-28 14:56:13 +01: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
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
peaklabs-dev
b99474ac73
Fix: Remove memlock as it caused problems for some users
2024-09-27 17:38:34 +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
182087cf1b
a few changes here and there
2024-09-18 21:18:47 +02:00
Andras Bacsai
5ec45d547a
Merge branch 'next' into fix-#2546-deletion-issues
2024-09-18 18:05:06 +02:00
ayntk-ai
c16e914be4
Fix: DB image cleanup
2024-09-04 14:59:44 +02:00
Andras Bacsai
301a3596e8
refactor: Update environment variable handling in StartClickhouse.php and ApplicationDeploymentJob.php
2024-08-29 15:11:54 +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
c87732b065
revert format
2024-08-27 20:47:17 +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
Andras Bacsai
f106e6e37b
feat: add custom docker container options to all databases
2024-08-16 13:56:47 +02:00
ayntk-ai
16a5c601e3
graceful db stop and db deletion fixes
2024-08-09 22:15:45 +02:00
Andras Bacsai
e897eb2999
fix: Stop resources gracefully
2024-08-06 13:27:06 +02:00
Andras Bacsai
3c13f1ff61
feat: restart database
...
feat: public dbs stay public after restart
feat: patch database conf
2024-07-02 13:39:44 +02:00
Andras Bacsai
2c92cc40e1
refactor: Update code to use str() instead of Str::of() for string manipulation
2024-06-25 10:37:10 +02:00
Andras Bacsai
b17be37aee
fix: db proxy status shown better in the UI
2024-06-14 14:09:56 +02:00
Thijmen
d86274cc37
Fix styling
2024-06-10 20:43:34 +00:00
Andras Bacsai
035e145cd1
feat: add more persistent storage types
2024-05-27 14:14:44 +02:00
Andras Bacsai
3281502c25
feat: Update healthcheck test in StartMongodb action
2024-05-17 14:35:37 +02:00
Andras Bacsai
fb80318553
Refactor docker-compose files to remove version numbers
2024-05-08 09:23:36 +02:00
Andras Bacsai
2b422a542a
fix: empty db conf
...
feat: add listen_addresses to postgresql if its missing in the custom conf
2024-05-07 12:35:24 +02:00
Andras Bacsai
35b07a9c18
Refactor code to add sudo prefix for certain commands in multiple files
2024-04-17 10:49:34 +02:00
Andras Bacsai
7a32b8d1d2
feat: configuration checker for all resources
2024-04-12 12:44:49 +02:00
Andras Bacsai
d9d38a27ff
Fix empty ray() function call in StartClickhouse.php
2024-04-11 13:46:34 +02:00
Andras Bacsai
1e7a5562ab
Update Clickhouse database credentials and variables
2024-04-11 13:45:02 +02:00
Andras Bacsai
e71032a8fc
Fix variable assignment in Import.php and ApplicationDeploymentJob.php
2024-04-11 13:20:46 +02:00
Andras Bacsai
c6844ff47a
Add keydb, dragonfly and clickhouse
2024-04-10 15:00:46 +02:00
Andras Bacsai
8cb6f67a60
fix: make sure service db proxy restarted
2024-03-25 12:17:52 +01:00
Andras Bacsai
7c580f898c
fix: public service database
2024-03-25 12:13:43 +01:00
Andras Bacsai
c20aa0b256
Refactor method names to use camel case
2024-03-04 11:01:14 +01:00
Andras Bacsai
8385bbb0a0
feat: gzip enabled & stipprefix setting
...
refactor: code
2024-03-04 10:46:13 +01:00
Andras Bacsai
45e404b15b
feat: disable gzip compression on service applications
2024-02-15 20:44:01 +01:00
Andras Bacsai
9edbc15828
Update database start commands
2024-02-07 20:34:13 +01:00
Andras Bacsai
fd2a533057
Refactor database and service start commands
2024-02-05 20:57:40 +01:00
Andras Bacsai
9667cd4a7a
fix: handle duplicate error instead of sql error
...
fix: set fqdns to null if you delete an app or a serviceapp
fix: make stucked resources a separate command
2024-01-30 09:48:51 +01:00
Andras Bacsai
fb478c79b3
feat: shared environments
2024-01-23 17:13:23 +01:00
Andras Bacsai
964ded1d0b
fix: redis custom conf
2024-01-21 12:06:51 +01:00
Andras Bacsai
5ffbba908b
Refactor healthcheck test in StartPostgresql.php
2024-01-12 15:41:49 +01:00
Andras Bacsai
27b18fbedf
Refactor database and application start scripts
2024-01-12 14:15:15 +01:00
Andras Bacsai
5e7c6906b3
fix: cpuset limits was determined in a way that apps only used 1 CPU max, ehh, sorry.
2024-01-12 13:47:01 +01:00
Andras Bacsai
2fe6766b7f
fix: cpu limit to float from int
2023-12-27 13:01:57 +01:00
Andras Bacsai
720bb8c478
fix: database ui is realtime based
2023-12-11 09:02:53 +01:00
Andras Bacsai
4a21102983
fix: server adding process
2023-11-21 12:07:06 +01:00
Andras Bacsai
3b20eee909
feat: enable/disable log drain by service
2023-11-17 20:08:21 +01:00
Andras Bacsai
57738198ad
Add fluentd logging configuration for database & services
2023-11-17 11:32:52 +01:00