Andras Bacsai
8d280b4aac
fix: prevent container name conflict when updating database port mappings
...
When port mappings are changed in the UI and the database is restarted,
the system now gracefully stops and removes the existing container before
recreating it with the new configuration.
This prevents the "container name already in use" error that occurred when
Docker Compose tried to create a container with the same name but different
port configuration.
Changes:
- Add graceful container stop (10s timeout) before docker compose up
- Remove old container to avoid name conflicts
- Use --timeout flag (modern Docker CLI) instead of deprecated --time
- Apply fix to all database types: MariaDB, MySQL, PostgreSQL, MongoDB,
Redis, KeyDB, Dragonfly, and ClickHouse
- Update StopDatabase.php for consistency
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-13 10:01:54 +02:00
Andras Bacsai
393745b68c
Revert "refactor(file-transfer): replace base64 encoding with direct file transfer method across multiple database actions for improved clarity and efficiency"
...
This reverts commit 18068857b1 .
2025-09-15 17:55:08 +02:00
Andras Bacsai
18068857b1
refactor(file-transfer): replace base64 encoding with direct file transfer method across multiple database actions for improved clarity and efficiency
2025-09-08 14:04:24 +02: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
ec9315f24e
remove unnecessary things
2024-12-03 14:09:51 +01:00
Julien
8b30123add
feat: add service/resource/project labels
2024-11-17 23:06:05 +01:00
Andras Bacsai
ff6f089483
feat: add --gpu support for custom docker command
2024-11-06 10:13:40 +01:00
Andras Bacsai
e4d20c1d02
add database labels
2024-11-02 14:04:59 +01: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
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
Andras Bacsai
2c92cc40e1
refactor: Update code to use str() instead of Str::of() for string manipulation
2024-06-25 10:37:10 +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
fb80318553
Refactor docker-compose files to remove version numbers
2024-05-08 09:23:36 +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
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