Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v4.0.0-beta.381 #4598

Open
wants to merge 277 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
277 commits
Select commit Hold shift + click to select a range
7328724
Merge branch 'coollabsio:main' into fix-postgres-init-scripts
peaklabs-dev Dec 4, 2024
0d5d553
refactor: rename `coolify.environment` to `coolify.environmentName`
Julien-R44 Dec 8, 2024
12a48a1
Merge branch 'next' into fix-postgres-init-scripts
peaklabs-dev Dec 9, 2024
a374e09
fix: fallback for copy button
peaklabs-dev Dec 13, 2024
9701c8a
fix: copy the right text
peaklabs-dev Dec 13, 2024
b25463b
fix: maybe fallback is now working
peaklabs-dev Dec 13, 2024
89a0fb1
new fallback approach
peaklabs-dev Dec 13, 2024
94bc604
never mind fuck the fallback just use https
peaklabs-dev Dec 13, 2024
06ce7b0
Fix typo in fileflows.yaml
Skeyelab Dec 13, 2024
7b30dad
Merge branch 'next' into patch-1
peaklabs-dev Dec 13, 2024
96c23cd
Merge pull request #4566 from Skeyelab/patch-1
peaklabs-dev Dec 13, 2024
260e44d
fix: only show copy button on secure context
peaklabs-dev Dec 13, 2024
3ed10ad
disable twenty for now
peaklabs-dev Dec 13, 2024
0f51d7b
Merge branch 'next' of https://github.com/coollabsio/coolify into next
peaklabs-dev Dec 13, 2024
d820aa0
Update service-templates.json
peaklabs-dev Dec 13, 2024
382acad
fix: render html on error page correctly
peaklabs-dev Dec 13, 2024
8c07a36
Revert as this probably breaks other error code
peaklabs-dev Dec 13, 2024
9e8d9e6
fix: invalid API response on missing project
SierraJC Dec 14, 2024
e7ffeda
fix: applications API response code + schema
SierraJC Dec 14, 2024
00c93aa
fix: applications API writing to unavailable models
SierraJC Dec 14, 2024
7cee651
chore: regenerate API spec, removing notification fields
SierraJC Dec 14, 2024
d6e0f25
add Cockpit service
aheinze Dec 14, 2024
c5f365e
feat: add infomaniak oauth
zaosoula Dec 12, 2024
fcdec3a
fix: unreachable notifications
peaklabs-dev Dec 15, 2024
46f9934
Added missing Discord Env for Outline one click service template
ShadowArcanist Dec 15, 2024
c4cee62
version++
andrasbacsai Dec 16, 2024
65ba6b9
fix: oauthseeder
andrasbacsai Dec 16, 2024
b010564
fix: fix domain being override when update application
arceushui Dec 16, 2024
acf10f3
fix: compose loading seq
andrasbacsai Dec 16, 2024
2565deb
fix: resource clone name + volume name generation
andrasbacsai Dec 16, 2024
d58abd1
refactor
andrasbacsai Dec 16, 2024
52310fd
add debug dev
andrasbacsai Dec 16, 2024
e0e2126
fix: update Dockerfile entrypoint path to /etc/entrypoint.d
andrasbacsai Dec 16, 2024
e90df5a
fix: debug mode
andrasbacsai Dec 16, 2024
f9d509b
enhance debug mode script to clear optimized classes after installing…
andrasbacsai Dec 16, 2024
a3e53fc
Merge pull request #4588 from ShadowArcanist/next
peaklabs-dev Dec 16, 2024
f8a2d92
Merge branch 'next' into fix-postgres-init-scripts
peaklabs-dev Dec 16, 2024
a0ad4bc
better impersonate
andrasbacsai Dec 16, 2024
6257494
add 'admin' to allowed paths for unsubscribed accounts
andrasbacsai Dec 16, 2024
1da3feb
fix: remove duplicated ServerCheckJob call
peaklabs-dev Dec 16, 2024
e30495a
feat: new ServerReachabilityChanged event
peaklabs-dev Dec 16, 2024
5571aa4
feat: use new ServerReachabilityChanged event instead of isDirty
peaklabs-dev Dec 16, 2024
80425a1
fix: few fixes and use new ServerReachabilityChanged event
peaklabs-dev Dec 16, 2024
48f73c7
Merge branch 'next' into fix-unreachable-notificiations
peaklabs-dev Dec 16, 2024
e76817d
improve application view
andrasbacsai Dec 16, 2024
0957fe8
chore: remove ray debugging
peaklabs-dev Dec 16, 2024
13f7d2a
Merge branch 'fix-unreachable-notificiations' of https://github.com/p…
peaklabs-dev Dec 16, 2024
0cbb3a0
fix: use serverStatus not just status
peaklabs-dev Dec 16, 2024
de69c20
Merge pull request #4556 from ezyostudio/next-oauth-infomaniak
peaklabs-dev Dec 16, 2024
2972a29
Merge branch 'next' into oauth
peaklabs-dev Dec 16, 2024
f0fff20
Merge pull request #4602 from coollabsio/oauth
peaklabs-dev Dec 16, 2024
b0a5781
Update service-templates.json
peaklabs-dev Dec 16, 2024
7edd228
Refactor PostgreSQL selection UI in project creation form for improve…
andrasbacsai Dec 17, 2024
2a9d499
feat: migrate env variables to polymorphic relationship
andrasbacsai Dec 17, 2024
9994742
fix: Oauth seeder
peaklabs-dev Dec 17, 2024
cd14501
remove port 80 from http.conf
peaklabs-dev Dec 17, 2024
02976e4
fix: check port 8080 and fallback to 80
peaklabs-dev Dec 17, 2024
b774847
fix: service ui structure
andrasbacsai Dec 17, 2024
b1759bf
use only port 8080 in the new version
andrasbacsai Dec 17, 2024
a5b4174
update compose files
andrasbacsai Dec 17, 2024
43be0f4
Merge pull request #4608 from peaklabs-dev/fix-port-80
andrasbacsai Dec 17, 2024
38256af
fix: refactor database view
andrasbacsai Dec 17, 2024
bf9d89f
Merge branch 'next' into fix-environement-route
andrasbacsai Dec 17, 2024
0ce0123
fix: html css
andrasbacsai Dec 17, 2024
9e34675
feat: add environment_uuid support and update API documentation
andrasbacsai Dec 17, 2024
905f849
Merge pull request #4364 from peaklabs-dev/fix-environement-route
andrasbacsai Dec 17, 2024
f2d0f46
fix: always use docker cleanup frequency
peaklabs-dev Dec 17, 2024
5fa636d
feat: add server disk usage check frequency
peaklabs-dev Dec 17, 2024
ed2ccaf
fix: Advanced server UI
peaklabs-dev Dec 17, 2024
f92ddd7
Merge branch 'next' into fix-docker-cleanup-notifications
peaklabs-dev Dec 17, 2024
359a844
Merge pull request #4610 from peaklabs-dev/fix-docker-cleanup-notific…
andrasbacsai Dec 17, 2024
203a20e
Merge branch 'next' into fix-unreachable-notificiations
andrasbacsai Dec 17, 2024
a840118
add debug logs to debug the logs - lol
andrasbacsai Dec 17, 2024
efacec4
Merge pull request #4586 from peaklabs-dev/fix-unreachable-notificiat…
andrasbacsai Dec 17, 2024
07984ce
Merge branch 'next' into fix-postgres-init-scripts
andrasbacsai Dec 18, 2024
33ae10a
fix
andrasbacsai Dec 18, 2024
7bc8365
Merge pull request #3950 from peaklabs-dev/fix-postgres-init-scripts
andrasbacsai Dec 18, 2024
41688f2
Merge branch 'next' into fix/api--projects-apps-fixes
andrasbacsai Dec 18, 2024
e41efab
Merge pull request #4571 from SierraJC/fix/api--projects-apps-fixes
andrasbacsai Dec 18, 2024
c7a01eb
Merge pull request #4596 from arceushui/main
andrasbacsai Dec 18, 2024
f2c7fbf
fix: use nixpacks predefined build variables, but still could update …
andrasbacsai Dec 18, 2024
340075a
Merge pull request #4324 from JuliensForks/main
andrasbacsai Dec 18, 2024
5403fa7
feat: add database subtype
andrasbacsai Dec 18, 2024
6e66cc8
remove XSRF-TOKEN, we are not using it
andrasbacsai Dec 18, 2024
ad16512
fix: use local monaco-editor instead of Cloudflare
andrasbacsai Dec 18, 2024
7c36bd3
Merge pull request #4576 from aheinze/main
peaklabs-dev Dec 18, 2024
0feac8c
Update service-templates.json
peaklabs-dev Dec 18, 2024
c3a76fe
Added nodebb service
privlol Dec 18, 2024
19a7f6f
add OPENAI_API_KEY variable in supabase.yaml
volfadar Dec 19, 2024
2fe87c2
Merge pull request #4625 from volfadar/patch-1
peaklabs-dev Dec 19, 2024
337d636
fix: n8n timezone
peaklabs-dev Dec 19, 2024
ef56797
Update service-templates.json
peaklabs-dev Dec 19, 2024
47f19ae
wip
danie-ramdhani Dec 20, 2024
a8304ce
Fixed according to report
privlol Dec 21, 2024
520a5ef
feat: add calibre-web service
frenicohansen Dec 21, 2024
153da26
feat: add actual-budget service
frenicohansen Dec 21, 2024
42e259f
feat: add rallly service
frenicohansen Dec 21, 2024
3a6232d
fix: install inetutils on Arch Linux
nktnet1 Dec 22, 2024
23c4061
chore: version ++
peaklabs-dev Dec 23, 2024
0622107
Merge pull request #4636 from danie-ramdhani/remove-alpine
peaklabs-dev Dec 23, 2024
4bfd76a
update supabase template
djsisson Dec 23, 2024
51dc229
fix: use ip in place of hostname from inetutils in arch
nktnet1 Dec 23, 2024
f575d12
Merge branch 'main' into next
andrasbacsai Dec 27, 2024
7c4e62e
remove unnecessary bloat from docker-compose
andrasbacsai Dec 28, 2024
2b8c559
refactor: server limit
andrasbacsai Dec 28, 2024
34e4b97
fix: compose envs
andrasbacsai Dec 28, 2024
a0f471b
Update trigger-with-external-database.yaml
amjed-ali-k Dec 29, 2024
c9ff0b9
add username + tsl env vars
amjed-ali-k Dec 29, 2024
e6b1893
Fixing the CSRF bug for labelstudio versions 1.14.0 and higher
bsamadi Dec 31, 2024
83c585e
teable service
Syiana Jan 3, 2025
4d18e33
fix: scheduled tasks and backups are executed by server timezone.
andrasbacsai Jan 3, 2025
c33132d
fix: show backup timezone on the UI
andrasbacsai Jan 3, 2025
1b8df1f
Update health check endpoint of nocodb service
pranavxc Jan 4, 2025
8bcb39a
Improve modal closing logic for intentional user interaction
biostaz Jan 4, 2025
d981519
update healthchecks
OliverSpeir Jan 6, 2025
73951bb
Merge pull request #4745 fix: update penpot template healthchecks
peaklabs-dev Jan 6, 2025
0274bcb
chore: improve Penpot healthchecks
peaklabs-dev Jan 6, 2025
478701e
Merge pull request #4736 from pranavxc/main
peaklabs-dev Jan 6, 2025
7452422
Merge pull request #4739 from biostaz/main
peaklabs-dev Jan 6, 2025
07eac49
Initialize nixpacks_plan_json in ApplicationDeploymentJob constructor
andrasbacsai Jan 6, 2025
5ad6b86
fix: disappearing UI after livewire event received
andrasbacsai Jan 6, 2025
eb46792
fix: add default vector db for anythingllm
andrasbacsai Jan 6, 2025
04dfcae
update packages + rector basic
andrasbacsai Jan 6, 2025
65d362a
feat: template for Gotenberg, a Docker-powered stateless API for PDF …
nktnet1 Jan 6, 2025
fb66d05
Refactor ApplicationDeploymentJob: Move 'tries' property definition t…
andrasbacsai Jan 7, 2025
f2b62e9
fix: readonly does not exists
andrasbacsai Jan 7, 2025
b43ea5f
fix: we need XSRF-TOKEN for terminal
andrasbacsai Jan 7, 2025
7f9e545
fix: prevent default link behavior for resource and settings actions …
andrasbacsai Jan 7, 2025
2710b2a
fix: increase default php memory limit
andrasbacsai Jan 7, 2025
af482f0
fix: show if only build servers are added to your team
andrasbacsai Jan 7, 2025
2fc5893
fix: update Livewire button click method to use camelCase
andrasbacsai Jan 7, 2025
86ce9f3
fix: local dropzonejs
andrasbacsai Jan 7, 2025
326d0cc
fix: import backups due to js stuff should not be navigated
andrasbacsai Jan 7, 2025
dc036e5
Update teable.yaml
Syiana Jan 7, 2025
5064fa2
feat/fix: able to import full db backups for pg/mysql/mariadb
andrasbacsai Jan 7, 2025
ab2e4c8
Merge pull request #4642 from nktnet1/arch-linux-inetutils
andrasbacsai Jan 7, 2025
40d9e05
feat: restore backup from server file
andrasbacsai Jan 7, 2025
965d656
fix: update import command to append file redirection for database re…
andrasbacsai Jan 7, 2025
c702ebf
fix: ui bug on pw confirmation
andrasbacsai Jan 7, 2025
96d2a1a
fix: edge case where executions could be null
peaklabs-dev Jan 7, 2025
16c0cd1
rector: arrrrr
andrasbacsai Jan 7, 2025
da07b4f
refactor: rename parameter in DatabaseBackupJob for clarity
andrasbacsai Jan 7, 2025
1fe4dd7
Revert "rector: arrrrr"
andrasbacsai Jan 7, 2025
d530659
fix: exclude system and computed fields from model replication
peaklabs-dev Jan 7, 2025
91e1220
fix: service cloning on a separate server
peaklabs-dev Jan 7, 2025
b77a223
fix: Application cloning
peaklabs-dev Jan 7, 2025
66d0926
fix: `Undefined variable $fs_path` for databases
peaklabs-dev Jan 8, 2025
d45e2d1
fix: Service and database cloning and label generation
peaklabs-dev Jan 8, 2025
3d4e8b9
chore: switch up readonly lables to make more sense
peaklabs-dev Jan 8, 2025
259d23d
fix: labels and URL generation when cloning
peaklabs-dev Jan 8, 2025
fc1963f
chore: remove unused computed fields
peaklabs-dev Jan 8, 2025
3868a4c
fix: clone naming for different database data volumes
peaklabs-dev Jan 8, 2025
249e39e
fix: implement all the cloneMe changes for ResourceOperations as well
peaklabs-dev Jan 8, 2025
3723c84
feat: docker volume data cloning
peaklabs-dev Jan 8, 2025
5877cea
feat: move volume data cloning to a Job
peaklabs-dev Jan 8, 2025
277d7f1
fix: removed container_name
nktnet1 Jan 9, 2025
e01401a
fix: volume and fileStorages cloning
peaklabs-dev Jan 9, 2025
1c357f9
fix: view text and helpers
peaklabs-dev Jan 9, 2025
34873b2
feat: volume cloning for ResourceOperations
peaklabs-dev Jan 9, 2025
d713582
bump: dep
peaklabs-dev Jan 9, 2025
c01d3e4
bump: docker dep
peaklabs-dev Jan 9, 2025
4f63faf
Merge branch 'next' into dep-bump
peaklabs-dev Jan 9, 2025
8921a8a
Update composer.lock
peaklabs-dev Jan 9, 2025
05873d1
Merge pull request #4783 from coollabsio/dep-bump
peaklabs-dev Jan 9, 2025
ced657e
Merge branch 'next' into fix-cloning
peaklabs-dev Jan 9, 2025
7fea576
Merge pull request #4654 from djsisson/update-supabase
peaklabs-dev Jan 9, 2025
6f8379d
Merge pull request #4727 from Syiana/main
peaklabs-dev Jan 9, 2025
a3f3ca7
fix: teable
peaklabs-dev Jan 9, 2025
a5199c6
fix make public in supabase
djsisson Jan 9, 2025
051e3d9
Merge pull request #4700 from amjed-ali-k/patch-1
peaklabs-dev Jan 9, 2025
e58a035
fix: trigger with external db
peaklabs-dev Jan 9, 2025
4c43226
Merge pull request #4785 from djsisson/supabase-public
peaklabs-dev Jan 9, 2025
771b392
Merge pull request #4711 from Nubonetics/service/labelstudio-1.14.0
peaklabs-dev Jan 9, 2025
a95bb61
fix: set `EXPERIMENTAL_FEATURES` to false for labelstudio
peaklabs-dev Jan 9, 2025
921657e
Update service-templates.json
peaklabs-dev Jan 9, 2025
b09f004
fix: restrict jobs on cloud
andrasbacsai Jan 10, 2025
b7d18fc
fix: getcontainer status should timeout after 30s
andrasbacsai Jan 10, 2025
3111cdd
fix: enable response for temporary unavailability in sentinel push en…
andrasbacsai Jan 10, 2025
5c8b26d
fix
andrasbacsai Jan 10, 2025
f748fba
fix: use timeout in cleanup resources
andrasbacsai Jan 10, 2025
9048efa
fix: add timeout to sentinel process checks for improved reliability
andrasbacsai Jan 10, 2025
cc61f48
refactor: remove unused tags method from ApplicationDeploymentJob
andrasbacsai Jan 10, 2025
5fda384
update packages
andrasbacsai Jan 10, 2025
b8f1ded
horizon manage command
andrasbacsai Jan 10, 2025
765e1ea
feat: add horizon server details to queue
andrasbacsai Jan 10, 2025
a364890
feat: enhance horizon:manage command with worker restart check
andrasbacsai Jan 10, 2025
e16e6e0
fix: added healthcheck for gotenberg template
nktnet1 Jan 10, 2025
d3e586b
Merge branch 'next' into fix-cloning
peaklabs-dev Jan 10, 2025
02400ad
fix: horizon job checker
andrasbacsai Jan 10, 2025
db079c0
refactor: improve deployment status check in isAnyDeploymentInprogres…
andrasbacsai Jan 10, 2025
925af53
horizon gate
andrasbacsai Jan 10, 2025
a0fc46d
refactor: extend HorizonServiceProvider from HorizonApplicationServic…
andrasbacsai Jan 10, 2025
7582d7d
refactor: streamline job status retrieval and clean up repository int…
andrasbacsai Jan 10, 2025
3a32193
refactor: enhance ApplicationDeploymentJob and HorizonServiceProvider…
andrasbacsai Jan 10, 2025
b724c85
chore(deps): bump nesbot/carbon from 3.8.2 to 3.8.4
dependabot[bot] Jan 10, 2025
3471bf7
Merge branch 'next' into dependabot/composer/nesbot/carbon-3.8.4
peaklabs-dev Jan 10, 2025
d36a179
Merge pull request #4798 from coollabsio/dependabot/composer/nesbot/c…
peaklabs-dev Jan 10, 2025
a396d51
Merge branch 'next' into hotfix
andrasbacsai Jan 10, 2025
70db50d
fix: update response message for sentinel push route
andrasbacsai Jan 10, 2025
0905479
Merge pull request #4767 from peaklabs-dev/fix-backup-executions
peaklabs-dev Jan 10, 2025
18f03dc
fix: create destination properly
andrasbacsai Jan 12, 2025
7eaf5d7
refactor: improve checkbox component accessibility and styling
andrasbacsai Jan 12, 2025
0e94a4a
fix: add own servers on cloud
andrasbacsai Jan 13, 2025
a85215e
refactor: remove commented-out unsubscribe route from API
andrasbacsai Jan 13, 2025
706602b
Merge pull request #4799 from coollabsio/hotfix
andrasbacsai Jan 13, 2025
b197ae6
fix
andrasbacsai Jan 13, 2025
c4a75f4
fix: service update statsu
andrasbacsai Jan 13, 2025
76f1312
feat: remote server volume cloning
peaklabs-dev Jan 13, 2025
43dacd8
chore: use the new job dispatch
peaklabs-dev Jan 13, 2025
36b16e9
chore: disable volume data cloning for now
peaklabs-dev Jan 13, 2025
dd2d306
feat: force deployment of services
andrasbacsai Jan 13, 2025
db5786e
fix: instance wide GitHub apps are not available on other teams then …
peaklabs-dev Jan 13, 2025
9b55a2f
fix: if $SERVICE found in the service specific configuration, then se…
andrasbacsai Jan 13, 2025
c82f271
fix: Application deployment
peaklabs-dev Jan 13, 2025
ebbe21a
Merge branch 'next' of https://github.com/coollabsio/coolify into next
peaklabs-dev Jan 13, 2025
dd3abd2
Merge branch 'next' into fix-system-wide-gh-apps
peaklabs-dev Jan 13, 2025
e6692c9
feat: add is_coolify_host to the server api responses
andrasbacsai Jan 13, 2025
bc42429
Merge pull request #4814 from peaklabs-dev/fix-system-wide-gh-apps
andrasbacsai Jan 13, 2025
04bcf01
feat: DB migration for Backup retention
peaklabs-dev Jan 13, 2025
e037ed7
feat: UI for backup retention settings
peaklabs-dev Jan 13, 2025
fb01aed
feat: new global s3 and local backup deletion function
peaklabs-dev Jan 13, 2025
a8b77b3
feat: use new backup deletion functions
peaklabs-dev Jan 13, 2025
f0d15af
chore: improve code
peaklabs-dev Jan 13, 2025
a5fadb0
fix: function calls
peaklabs-dev Jan 13, 2025
71edab4
fix: UI
peaklabs-dev Jan 13, 2025
c03b629
fix: deletion of single backup
peaklabs-dev Jan 13, 2025
3dfca4e
fix: backup job deletion - delete all backups from s3 and local
peaklabs-dev Jan 13, 2025
9eebeb9
fix: use new removeOldBackups function
peaklabs-dev Jan 13, 2025
3347eb3
fix: retention functions and folder deletion for local backups
peaklabs-dev Jan 13, 2025
e9f691b
fix: storage retention setting
peaklabs-dev Jan 13, 2025
3a199dc
add sponsors
andrasbacsai Jan 13, 2025
8709a77
fix: db without s3 should still backup
peaklabs-dev Jan 13, 2025
aab5398
fix: monaco editor disabled state
andrasbacsai Jan 14, 2025
6a8cc0f
Merge branch 'next' into fix-cloning
andrasbacsai Jan 14, 2025
57c998d
Merge pull request #4777 from peaklabs-dev/fix-cloning
andrasbacsai Jan 14, 2025
b01ea8b
Merge pull request #4818 from peaklabs-dev/feat-backup-retention
andrasbacsai Jan 14, 2025
d9965fb
fix: wording
andrasbacsai Jan 14, 2025
9dca566
Update composer.lock
peaklabs-dev Jan 14, 2025
11769f0
fix: `Undefined variable $service` when creating a new service
peaklabs-dev Jan 14, 2025
7c1ea0f
Merge pull request #4624 from privlol/next
peaklabs-dev Jan 14, 2025
334a729
fix: nodebb service
peaklabs-dev Jan 14, 2025
6af4413
Merge pull request #4639 from frenicohansen/main
peaklabs-dev Jan 14, 2025
731dc9f
fix: calibre-web service
peaklabs-dev Jan 14, 2025
9d10e8a
Merge pull request #4640 from frenicohansen/feat/actualbudget-rallly
peaklabs-dev Jan 14, 2025
3b6f741
fix: rallly and actualbudget service
peaklabs-dev Jan 14, 2025
c9ec34e
Merge pull request #4759 from nktnet1/gotenberg-template
peaklabs-dev Jan 14, 2025
e56be3a
fix: gotenberg
peaklabs-dev Jan 14, 2025
01eb54c
disable jitsi for now as it is not working properly
peaklabs-dev Jan 14, 2025
0903ed8
fix(template): gotenberg healthcheck, use /health instead of /version
nktnet1 Jan 14, 2025
6b1a26a
Merge pull request #4833 from nktnet1/gotenberg-template-fix
peaklabs-dev Jan 15, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 0 additions & 4 deletions .env.production
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
# Coolify Configuration
APP_ID=
APP_NAME=Coolify
APP_KEY=

# PostgreSQL Database Configuration
DB_USERNAME=coolify
DB_PASSWORD=

# Redis Configuration
REDIS_PASSWORD=

# Pusher Configuration
PUSHER_APP_ID=
PUSHER_APP_KEY=
PUSHER_APP_SECRET=
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Special thanks to our biggest sponsors!
* [PFGlabs](https://pfglabs.com/?ref=coolify.io) - Build real project with Golang.
* [Treive](https://trieve.ai/?ref=coolify.io) - An AI-powered search and discovery platform for enhancing information retrieval in large datasets.
* [Blacksmith](https://blacksmith.sh/?ref=coolify.io) - A cloud-native platform for automating infrastructure provisioning and management across multiple cloud providers.
* [Brand Dev](https://brand.dev/?ref=coolify.io) - A web development agency specializing in creating custom digital experiences and brand identities.
* [Brand Dev](https://brand.dev/?ref=coolify.io) - The #1 Brand API for B2B software startups - instantly pull logos, fonts, descriptions, social links, slogans, and so much more from any domain via a single api call.
* [Jobscollider](https://jobscollider.com/remote-jobs?ref=coolify.io) - A job search platform connecting professionals with remote work opportunities across various industries.
* [Hostinger](https://www.hostinger.com/vps/coolify-hosting?ref=coolify.io) - A web hosting provider offering affordable hosting solutions, domain registration, and website building tools.
* [Glueops](https://www.glueops.dev/?ref=coolify.io) - A DevOps consulting company providing infrastructure automation and cloud optimization services.
Expand All @@ -75,6 +75,7 @@ Special thanks to our biggest sponsors!
<a href="https://www.runpod.io/?ref=coolify.io">
<svg style="width:60px;height:60px;background:#fff;" xmlns="http://www.w3.org/2000/svg" version="1.0" viewBox="0 0 200 200"><g><path d="M74.5 51.1c-25.4 14.9-27 16-29.6 20.2-1.8 3-1.9 5.3-1.9 32.3 0 21.7.3 29.4 1.3 30.6 1.9 2.5 46.7 27.9 48.5 27.6 1.5-.3 1.7-3.1 2-27.7.2-21.9 0-27.8-1.1-29.5-.8-1.2-9.9-6.8-20.2-12.6-10.3-5.8-19.4-11.5-20.2-12.7-1.8-2.6-.9-5.9 1.8-7.4 1.6-.8 6.3 0 21.8 4C87.8 78.7 98 81 99.6 81c4.4 0 49.9-25.9 49.9-28.4 0-1.6-3.4-2.8-24-8.2-13.2-3.5-25.1-6.3-26.5-6.3-1.4.1-12.4 5.9-24.5 13z"></path><path d="m137.2 68.1-3.3 2.1 6.3 3.7c3.5 2 6.3 4.3 6.3 5.1 0 .9-8 6.1-19.4 12.6-10.6 6-20 11.9-20.7 12.9-1.2 1.6-1.4 7.2-1.2 29.4.3 24.8.5 27.6 2 27.9 1.8.3 46.6-25.1 48.6-27.6.9-1.2 1.2-8.8 1.2-30.2s-.3-29-1.2-30.2c-1.6-1.9-12.1-7.8-13.9-7.8-.8 0-2.9 1-4.7 2.1z"></path></g></svg></a>
<a href="https://lightspeed.run/?ref=coolify.io"><img src="https://github.com/lightspeedrun.png" width="60px" alt="Lightspeed.run"/></a>
<a href="https://dartnode.com/?ref=coolify.io"><img src="https://github.com/DartNode-com.png" width="60px" alt="DartNode"/></a>
<a href="https://www.flint.sh/en/home?ref=coolify.io"> <img src="https://github.com/Flint-company.png" width="60px" alt="FlintCompany"/></a>
<a href="https://americancloud.com/?ref=coolify.io"><img src="https://github.com/American-Cloud.png" width="60px" alt="American Cloud"/></a>
<a href="https://cryptojobslist.com/?ref=coolify.io"><img src="https://github.com/cryptojobslist.png" width="60px" alt="CryptoJobsList" /></a>
Expand Down
15 changes: 4 additions & 11 deletions app/Actions/CoolifyTask/RunRemoteProcess.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,16 +91,9 @@ public function __invoke(): ProcessResult
} else {
if ($processResult->exitCode() == 0) {
$status = ProcessStatus::FINISHED;
}
if ($processResult->exitCode() != 0 && ! $this->ignore_errors) {
} else {
$status = ProcessStatus::ERROR;
}
// if (($processResult->exitCode() == 0 && $this->is_finished) || $this->activity->properties->get('status') === ProcessStatus::FINISHED->value) {
// $status = ProcessStatus::FINISHED;
// }
// if ($processResult->exitCode() != 0 && !$this->ignore_errors) {
// $status = ProcessStatus::ERROR;
// }
}

$this->activity->properties = $this->activity->properties->merge([
Expand All @@ -110,9 +103,6 @@ public function __invoke(): ProcessResult
'status' => $status->value,
]);
$this->activity->save();
if ($processResult->exitCode() != 0 && ! $this->ignore_errors) {
throw new \RuntimeException($processResult->errorOutput(), $processResult->exitCode());
}
if ($this->call_event_on_finish) {
try {
if ($this->call_event_data) {
Expand All @@ -128,6 +118,9 @@ public function __invoke(): ProcessResult
Log::error('Error calling event: '.$e->getMessage());
}
}
if ($processResult->exitCode() != 0 && ! $this->ignore_errors) {
throw new \RuntimeException($processResult->errorOutput(), $processResult->exitCode());
}

return $processResult;
}
Expand Down
6 changes: 1 addition & 5 deletions app/Actions/Database/StartClickhouse.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,7 @@ public function handle(StandaloneClickhouse $database)
'hard' => 262144,
],
],
'labels' => [
'coolify.managed' => 'true',
'coolify.type' => 'database',
'coolify.databaseId' => $this->database->id,
],
'labels' => defaultDatabaseLabels($this->database)->toArray(),
'healthcheck' => [
'test' => "clickhouse-client --password {$this->database->clickhouse_admin_password} --query 'SELECT 1'",
'interval' => '5s',
Expand Down
4 changes: 4 additions & 0 deletions app/Actions/Database/StartDatabaseProxy.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ public function handle(StandaloneRedis|StandalonePostgresql|StandaloneMongodb|St
$type = \App\Models\StandaloneClickhouse::class;
$containerName = "clickhouse-{$database->service->uuid}";
break;
case 'standalone-supabase/postgres':
$type = \App\Models\StandalonePostgresql::class;
$containerName = "supabase-db-{$database->service->uuid}";
break;
}
}
if ($type === \App\Models\StandaloneRedis::class) {
Expand Down
6 changes: 1 addition & 5 deletions app/Actions/Database/StartDragonfly.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,7 @@ public function handle(StandaloneDragonfly $database)
'networks' => [
$this->database->destination->network,
],
'labels' => [
'coolify.managed' => 'true',
'coolify.type' => 'database',
'coolify.databaseId' => $this->database->id,
],
'labels' => defaultDatabaseLabels($this->database)->toArray(),
'healthcheck' => [
'test' => "redis-cli -a {$this->database->dragonfly_password} ping",
'interval' => '5s',
Expand Down
6 changes: 1 addition & 5 deletions app/Actions/Database/StartKeydb.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,7 @@ public function handle(StandaloneKeydb $database)
'networks' => [
$this->database->destination->network,
],
'labels' => [
'coolify.managed' => 'true',
'coolify.type' => 'database',
'coolify.databaseId' => $this->database->id,
],
'labels' => defaultDatabaseLabels($this->database)->toArray(),
'healthcheck' => [
'test' => "keydb-cli --pass {$this->database->keydb_password} ping",
'interval' => '5s',
Expand Down
6 changes: 1 addition & 5 deletions app/Actions/Database/StartMariadb.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,7 @@ public function handle(StandaloneMariadb $database)
'networks' => [
$this->database->destination->network,
],
'labels' => [
'coolify.managed' => 'true',
'coolify.type' => 'database',
'coolify.databaseId' => $this->database->id,
],
'labels' => defaultDatabaseLabels($this->database)->toArray(),
'healthcheck' => [
'test' => ['CMD', 'healthcheck.sh', '--connect', '--innodb_initialized'],
'interval' => '5s',
Expand Down
6 changes: 1 addition & 5 deletions app/Actions/Database/StartMongodb.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,7 @@ public function handle(StandaloneMongodb $database)
'networks' => [
$this->database->destination->network,
],
'labels' => [
'coolify.managed' => 'true',
'coolify.type' => 'database',
'coolify.databaseId' => $this->database->id,
],
'labels' => defaultDatabaseLabels($this->database)->toArray(),
'healthcheck' => [
'test' => [
'CMD',
Expand Down
6 changes: 1 addition & 5 deletions app/Actions/Database/StartMysql.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,7 @@ public function handle(StandaloneMysql $database)
'networks' => [
$this->database->destination->network,
],
'labels' => [
'coolify.managed' => 'true',
'coolify.type' => 'database',
'coolify.databaseId' => $this->database->id,
],
'labels' => defaultDatabaseLabels($this->database)->toArray(),
'healthcheck' => [
'test' => ['CMD', 'mysqladmin', 'ping', '-h', 'localhost', '-u', 'root', "-p{$this->database->mysql_root_password}"],
'interval' => '5s',
Expand Down
29 changes: 18 additions & 11 deletions app/Actions/Database/StartPostgresql.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ public function handle(StandalonePostgresql $database)
$this->database = $database;
$container_name = $this->database->uuid;
$this->configuration_dir = database_configuration_dir().'/'.$container_name;
if (isDev()) {
$this->configuration_dir = '/var/lib/docker/volumes/coolify_dev_coolify_data/_data/databases/'.$container_name;
}

$this->commands = [
"echo 'Starting database.'",
Expand All @@ -47,11 +50,7 @@ public function handle(StandalonePostgresql $database)
'networks' => [
$this->database->destination->network,
],
'labels' => [
'coolify.managed' => 'true',
'coolify.type' => 'database',
'coolify.databaseId' => $this->database->id,
],
'labels' => defaultDatabaseLabels($this->database)->toArray(),
'healthcheck' => [
'test' => [
'CMD-SHELL',
Expand All @@ -78,7 +77,7 @@ public function handle(StandalonePostgresql $database)
],
],
];
if (! is_null($this->database->limits_cpuset)) {
if (filled($this->database->limits_cpuset)) {
data_set($docker_compose, "services.{$container_name}.cpuset", $this->database->limits_cpuset);
}
if ($this->database->destination->server->isLogDrainEnabled() && $this->database->isLogDrainEnabled()) {
Expand Down Expand Up @@ -108,7 +107,7 @@ public function handle(StandalonePostgresql $database)
];
}
}
if (! is_null($this->database->postgres_conf) && ! empty($this->database->postgres_conf)) {
if (filled($this->database->postgres_conf)) {
$docker_compose['services'][$container_name]['volumes'][] = [
'type' => 'bind',
'source' => $this->configuration_dir.'/custom-postgres.conf',
Expand Down Expand Up @@ -199,9 +198,12 @@ private function generate_environment_variables()

private function generate_init_scripts()
{
if (is_null($this->database->init_scripts) || count($this->database->init_scripts) === 0) {
$this->commands[] = "rm -rf $this->configuration_dir/docker-entrypoint-initdb.d/*";

if (blank($this->database->init_scripts) || count($this->database->init_scripts) === 0) {
return;
}

foreach ($this->database->init_scripts as $init_script) {
$filename = data_get($init_script, 'filename');
$content = data_get($init_script, 'content');
Expand All @@ -213,17 +215,22 @@ private function generate_init_scripts()

private function add_custom_conf()
{
if (is_null($this->database->postgres_conf) || empty($this->database->postgres_conf)) {
$filename = 'custom-postgres.conf';
$config_file_path = "$this->configuration_dir/$filename";

if (blank($this->database->postgres_conf)) {
$this->commands[] = "rm -f $config_file_path";

return;
}
$filename = 'custom-postgres.conf';

$content = $this->database->postgres_conf;
if (! str($content)->contains('listen_addresses')) {
$content .= "\nlisten_addresses = '*'";
$this->database->postgres_conf = $content;
$this->database->save();
}
$content_base64 = base64_encode($content);
$this->commands[] = "echo '{$content_base64}' | base64 -d | tee $this->configuration_dir/{$filename} > /dev/null";
$this->commands[] = "echo '{$content_base64}' | base64 -d | tee $config_file_path > /dev/null";
}
}
6 changes: 1 addition & 5 deletions app/Actions/Database/StartRedis.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,7 @@ public function handle(StandaloneRedis $database)
'networks' => [
$this->database->destination->network,
],
'labels' => [
'coolify.managed' => 'true',
'coolify.type' => 'database',
'coolify.databaseId' => $this->database->id,
],
'labels' => defaultDatabaseLabels($this->database)->toArray(),
'healthcheck' => [
'test' => [
'CMD-SHELL',
Expand Down
4 changes: 2 additions & 2 deletions app/Actions/Docker/GetContainersStatus.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public function handle(Server $server, ?Collection $containers = null, ?Collecti
$preview->update(['last_online_at' => now()]);
}
} else {
//Notify user that this container should not be there.
// Notify user that this container should not be there.
}
} else {
$application = $this->applications->where('id', $applicationId)->first();
Expand All @@ -125,7 +125,7 @@ public function handle(Server $server, ?Collection $containers = null, ?Collecti
$application->update(['last_online_at' => now()]);
}
} else {
//Notify user that this container should not be there.
// Notify user that this container should not be there.
}
}
} else {
Expand Down
5 changes: 5 additions & 0 deletions app/Console/Commands/CleanupStuckedResources.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ private function cleanup_stucked_resources()
$servers = Server::all()->filter(function ($server) {
return $server->isFunctional();
});
if (isCloud()) {
$servers = $servers->filter(function ($server) {
return data_get($server->team->subscription, 'stripe_invoice_paid', false) === true;
});
}
foreach ($servers as $server) {
CleanupHelperContainersJob::dispatch($server);
}
Expand Down
2 changes: 1 addition & 1 deletion app/Console/Commands/Emails.php
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ public function handle()
'team_id' => 0,
]);
}
//$this->mail = (new BackupSuccess($backup->frequency, $db->name))->toMail();
// $this->mail = (new BackupSuccess($backup->frequency, $db->name))->toMail();
$this->sendEmail();
break;
// case 'invitation-link':
Expand Down
Loading