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.361 #3878

Merged
merged 610 commits into from
Nov 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
610 commits
Select commit Hold shift + click to select a range
35a1307
Refactor variable and function names for consistency
andrasbacsai Oct 25, 2024
2877080
Refactor variable and function names for consistency
andrasbacsai Oct 25, 2024
d26a0f1
Refactor flexbox layout and button styles in show-private-key.blade.php
andrasbacsai Oct 25, 2024
254bae9
Refactor variable and function names for consistency
andrasbacsai Oct 25, 2024
2bea265
Refactor StartSentinel handle method to include latest version parameter
andrasbacsai Oct 25, 2024
ba86a75
Refactor ServerStatusJob to remove unnecessary coolify.yaml file
andrasbacsai Oct 25, 2024
7ed0ebf
fix: generateSentinelUrl method
andrasbacsai Oct 25, 2024
b037677
remove experimental features env variable
andrasbacsai Oct 25, 2024
2263734
save sentinel form update
andrasbacsai Oct 25, 2024
c099936
Refactor StartSentinel handle method to use consistent variable namin…
andrasbacsai Oct 25, 2024
fb75741
add sentinel check to servercheckjob
andrasbacsai Oct 25, 2024
8c96ab5
feat: notification rate limiter
andrasbacsai Oct 25, 2024
898623e
remove jupyterlab - as it is a personal image
peaklabs-dev Oct 25, 2024
999bb29
remove dashboard very outdated
peaklabs-dev Oct 25, 2024
7bb9a2b
remove homebox - not maintained anymore
peaklabs-dev Oct 25, 2024
5fbaebe
remove docker.io as it is not needed
peaklabs-dev Oct 25, 2024
bb6e374
use mariadb:11 as the other one does not exist
peaklabs-dev Oct 25, 2024
c3ee580
remove docker.io not needed
peaklabs-dev Oct 25, 2024
176db97
Delete weird.yaml
peaklabs-dev Oct 25, 2024
0e26939
Merge pull request #4014 from diogo24m/mosquitto
peaklabs-dev Oct 25, 2024
a1bd218
Update service-templates.json
peaklabs-dev Oct 25, 2024
62c0eba
Refactor code to remove experimental features and update documentatio…
andrasbacsai Oct 25, 2024
dd3aeb1
stop logdrain before restarting it
andrasbacsai Oct 25, 2024
50519a8
fix: numberOfLines could be null
andrasbacsai Oct 25, 2024
29ad965
Refactor code to use loggy() function for server storage check logging
andrasbacsai Oct 25, 2024
394dfe9
Refactor code to remove unused import and update loggy() function sig…
andrasbacsai Oct 25, 2024
34ff8e9
fix rendering glitch with tow step confirmation
peaklabs-dev Oct 25, 2024
7da9b28
fix step 2 button
peaklabs-dev Oct 25, 2024
9fe8204
docs: update link to deploy api docs
cngJo Oct 26, 2024
776cd54
Upgrade keycloak template to v26.0
TimKochDev Oct 26, 2024
e34d214
Adjusted bitcoin core service, especially how to run the rpc in a sec…
ALsJourney Oct 26, 2024
6bc9e77
Add team authorization for gitlab sources
angelej Oct 27, 2024
9d82863
Add authorization for force-password-resets
angelej Oct 27, 2024
0df717a
Refactor code to add #[Locked] attribute to Member component
andrasbacsai Oct 28, 2024
26ab73b
Merge pull request #4032 from angelej/force-password-reset-authorization
andrasbacsai Oct 28, 2024
8c88dfd
Merge pull request #4029 from angelej/gitlab-authorization
andrasbacsai Oct 28, 2024
5a0c009
Refactor code to remove unnecessary commented out sections
andrasbacsai Oct 28, 2024
3cb6ba1
Refactor code to improve server limit retrieval in Team model
andrasbacsai Oct 28, 2024
3d58b92
migrate settings from legacy model binding
andrasbacsai Oct 28, 2024
af35612
Refactor backup-edit.blade.php to conditionally display the "Backup A…
andrasbacsai Oct 28, 2024
66e9afd
migrate settings backup frome legacy bind
andrasbacsai Oct 28, 2024
a4b4b93
Refactor Member component to handle authorization checks and error ha…
andrasbacsai Oct 28, 2024
736ded6
Merge pull request #4023 from TimKochDev/upgrade-keycloak-to-v26
peaklabs-dev Oct 28, 2024
e28248c
Merge pull request #3704 from danielalves96/add-coder-service
peaklabs-dev Oct 28, 2024
b223513
fix coder
peaklabs-dev Oct 28, 2024
a61f99f
Merge pull request #4026 from ALsJourney/main
peaklabs-dev Oct 28, 2024
294bc91
fix bitcoin core
peaklabs-dev Oct 28, 2024
ec22162
Merge pull request #4021 from cngJo/patch-1
peaklabs-dev Oct 28, 2024
7c2d3c4
Merge branch 'next' into useless-variable-assignments
peaklabs-dev Oct 28, 2024
f5b39d4
Merge pull request #3847 from lucasmichot/useless-variable-assignments
peaklabs-dev Oct 28, 2024
a5bcc10
remove unused variable assignements
peaklabs-dev Oct 28, 2024
d557a22
Remove all ray() calls
lucasmichot Oct 28, 2024
94e73c6
Merge pull request #4039 from lucasmichot/feat/remove-ray
peaklabs-dev Oct 28, 2024
5b6e466
Remove some useless catch blocks
lucasmichot Oct 28, 2024
c5403b0
Always prefer ::class notation
lucasmichot Oct 28, 2024
38da39d
fix volume mediawiki.yaml
libialany Oct 28, 2024
44f0458
Add new role enum and apply authorization
angelej Oct 28, 2024
a421fda
Merge pull request #4042 from lucasmichot/feat/class-notation
peaklabs-dev Oct 28, 2024
4d779f8
Merge pull request #4043 from angelej/member-role-authorization
andrasbacsai Oct 28, 2024
9217d5a
Merge pull request #4017 from coollabsio/fix-rendering-glitch
andrasbacsai Oct 28, 2024
bb7184b
Merge pull request #4041 from lucasmichot/feat/try-catch
andrasbacsai Oct 28, 2024
6842904
Remove deprecated fortify password policy and add a stricter one
angelej Oct 28, 2024
2eef8ee
add dusk tests
andrasbacsai Oct 28, 2024
898433b
Refactor modal-confirmation component
andrasbacsai Oct 28, 2024
0938c60
Merge branch 'next' into global-password-policy
andrasbacsai Oct 29, 2024
f87b158
fix: login / register view
andrasbacsai Oct 29, 2024
a17e3ca
Merge pull request #4053 from angelej/global-password-policy
andrasbacsai Oct 29, 2024
46a26aa
Merge pull request #4056 from coollabsio/global-password-policy
andrasbacsai Oct 29, 2024
5780828
Refactor registration form view
andrasbacsai Oct 29, 2024
c2a2757
fix: restart sentinel once a day
andrasbacsai Oct 29, 2024
74411e8
feat: debug mode for sentinel
andrasbacsai Oct 29, 2024
329a94d
Refactor Form.php: Remove unused variable
andrasbacsai Oct 29, 2024
e45e5e2
disable dusk
andrasbacsai Oct 29, 2024
6462af2
Refactor server show blade view: Enable metrics tab and remove commen…
andrasbacsai Oct 29, 2024
c6c5f62
update sentinel version
andrasbacsai Oct 29, 2024
491b228
remove unused job
andrasbacsai Oct 29, 2024
5bc92ab
New jenkins service
diogo24m Oct 30, 2024
7385d7a
fix: changing private key manually won't trigger a notification
andrasbacsai Oct 30, 2024
7f45e53
Merge pull request #4046 from libialany/fix/template-mediawiki
peaklabs-dev Oct 30, 2024
ee79faf
Update mediawiki.yaml
peaklabs-dev Oct 30, 2024
96ca72f
refactor server view (phuuu)
andrasbacsai Oct 30, 2024
b846b40
remove coolify managed label from coolify images
andrasbacsai Oct 30, 2024
86cf1ae
Refactor Server model to remove SSH multiplexing file
andrasbacsai Oct 30, 2024
8fbd0b4
Refactor Server model to remove SSH multiplexing file and add ServerC…
andrasbacsai Oct 30, 2024
5d5a06d
fix typo
albertorizzi Oct 30, 2024
2568cad
Merge branch 'next' into main
peaklabs-dev Oct 31, 2024
2c344ab
Merge pull request #4076 from albertorizzi/main
peaklabs-dev Oct 31, 2024
0cf3569
Revert "fix typo"
peaklabs-dev Oct 31, 2024
ba64855
Merge pull request #4081 from coollabsio/revert-4076-main
peaklabs-dev Oct 31, 2024
6be0aff
fix typo
peaklabs-dev Oct 31, 2024
01bdde2
Merge branch 'next' into fix-autocompletes
peaklabs-dev Oct 31, 2024
901af17
Merge pull request #3806 from LEstradioto/fix-autocompletes
peaklabs-dev Oct 31, 2024
567fe73
remove duplicated step 3
peaklabs-dev Oct 31, 2024
9a93e45
Simplify and optimize the service-templates.yaml generation command
lucasmichot Oct 10, 2024
79d5434
Update service-templates.json
peaklabs-dev Oct 31, 2024
fc1b43c
Adapt command
lucasmichot Oct 31, 2024
fca1815
Apply tailwind shadow to .box class
TimKochDev Oct 27, 2024
a35e2f4
Fix inconsistent navbar padding
TimKochDev Oct 27, 2024
f073d01
Give more space to navbar
TimKochDev Oct 27, 2024
1a668d6
Make h1 text size even larger
TimKochDev Oct 29, 2024
c3fc224
Apply mb-12 to <section> elements
TimKochDev Oct 30, 2024
23211c3
Utilize <section> on dashboard page
TimKochDev Oct 30, 2024
1fa7ac7
Update some properties within composer.json file
lucasmichot Oct 28, 2024
42bfc0b
Normalize composer.json file
lucasmichot Oct 28, 2024
e2b396a
Use match when possible.
lucasmichot Oct 31, 2024
b1d0491
Remove all useless catch block useless variables.
lucasmichot Oct 31, 2024
601f1a4
Always prefer stricter string comparisons.
lucasmichot Oct 31, 2024
4a2a8ac
Merge pull request #4087 from lucasmichot/feat/strict-comparisons
peaklabs-dev Oct 31, 2024
732be30
Merge pull request #4085 from lucasmichot/feat/match
peaklabs-dev Oct 31, 2024
588080d
Merge pull request #4086 from lucasmichot/feat/useless-catch-variable
peaklabs-dev Oct 31, 2024
231ce49
Merge pull request #4068 from TimKochDev/design
peaklabs-dev Oct 31, 2024
0c133b1
Delete some useless imports
lucasmichot Oct 31, 2024
1e6eebe
Merge pull request #3830 from lucasmichot/feat/services-generation
peaklabs-dev Oct 31, 2024
988ffa5
Merge pull request #4088 from lucasmichot/feat/useless-imports
peaklabs-dev Oct 31, 2024
702ee5c
Prefer Carbon methods when possible.
lucasmichot Oct 31, 2024
a6b560a
Merge pull request #4089 from lucasmichot/feat/carbon
peaklabs-dev Oct 31, 2024
e420c33
Update the license to Apache-2.0
lucasmichot Oct 31, 2024
1876447
Merge pull request #3824 from lucasmichot/feat/composer
peaklabs-dev Oct 31, 2024
8e1444e
Get rid of many useless blank lines
lucasmichot Oct 31, 2024
aa7fa16
Merge pull request #4091 from lucasmichot/feat/useless-blank-lines
peaklabs-dev Oct 31, 2024
1ec224f
Inline many variables.
lucasmichot Oct 31, 2024
be38e32
Merge pull request #4093 from lucasmichot/feat/inline-variables
peaklabs-dev Oct 31, 2024
c7e3df6
Add FQDN
diogo24m Oct 31, 2024
26b80a0
Change volume name to match standard
diogo24m Oct 31, 2024
ced0d1f
fix: grammar for helper
t3duk Oct 31, 2024
2ca6da1
fix: fix my own grammar
t3duk Oct 31, 2024
8641f6f
Update appwrite.yaml to 1.6
jcmunoz200 Oct 31, 2024
5ce2422
fix: stripe webhooks
andrasbacsai Oct 31, 2024
4fa533a
Refactor webhook event handling logic
andrasbacsai Oct 31, 2024
f618bdf
removed env
LEstradioto Nov 1, 2024
c9f2e19
Merge branch 'next' into next
t3duk Nov 1, 2024
1fd2c96
Merge pull request #4095 from jcmunoz200/patch-1
peaklabs-dev Nov 1, 2024
298dc2c
Merge pull request #4094 from t3duk/next
peaklabs-dev Nov 1, 2024
ee8f96b
Merge pull request #4066 from diogo24m/jenkins
peaklabs-dev Nov 1, 2024
0b2955c
fix jenkins
peaklabs-dev Nov 1, 2024
369e99a
Merge pull request #2348 from LEstradioto/feat--add-jitsi-template
peaklabs-dev Nov 1, 2024
5967d70
Refactor cleanup:database command signature to include optional --kee…
andrasbacsai Nov 1, 2024
27b0c02
Refactor cleanup:database command signature to include optional --kee…
andrasbacsai Nov 1, 2024
b77ee11
Refactor livewire server show view to remove redundant code
andrasbacsai Nov 1, 2024
0a3b5cc
Refactor livewire server show view to remove redundant code
andrasbacsai Nov 1, 2024
77a0194
Refactor Livewire server show view to remove redundant code
andrasbacsai Nov 1, 2024
9ddc40f
Refactor Server model to remove redundant code
andrasbacsai Nov 2, 2024
7296f72
fix: add telescope only in dev mode
andrasbacsai Nov 2, 2024
1c9844c
Refactor Kernel.php to improve server scheduling logic
andrasbacsai Nov 2, 2024
0c77a82
Refactor ServerCheckJob to remove unused properties and improve perfo…
andrasbacsai Nov 2, 2024
8b25630
Refactor Server model to remove redundant code
andrasbacsai Nov 2, 2024
e4d20c1
add database labels
andrasbacsai Nov 2, 2024
c2e076b
add min process for horizon
andrasbacsai Nov 2, 2024
2eab929
check server functionality before status
andrasbacsai Nov 2, 2024
ca7c214
fix: new way to update container statuses
andrasbacsai Nov 3, 2024
ed03cd3
fix: only run server storage every 10 mins if sentinel is not active
andrasbacsai Nov 3, 2024
52b4e62
fix: cloud admin view
andrasbacsai Nov 3, 2024
9ff73d6
fix: queries in kernel.php
andrasbacsai Nov 3, 2024
6987951
add new resource check to kernel.php
andrasbacsai Nov 3, 2024
38fad7e
asd
andrasbacsai Nov 3, 2024
46c218d
fix ui
andrasbacsai Nov 3, 2024
63cff9e
fix: lower case emails only
andrasbacsai Nov 3, 2024
f408d60
fix: change emails to lowercase on init
andrasbacsai Nov 3, 2024
d3f422a
fix: do not error on update email
andrasbacsai Nov 3, 2024
b8a35be
fix: always authenticate with lowercase emails
andrasbacsai Nov 3, 2024
cc7c25a
fix: dashboard refactor
andrasbacsai Nov 3, 2024
c211227
fix: add min/max length to input/texarea
andrasbacsai Nov 3, 2024
8c99891
fix: remove livewire legacy from help view
andrasbacsai Nov 3, 2024
2df27f3
fix: remove unnecessary endpoints (magic)
andrasbacsai Nov 3, 2024
ec81b4c
fix: transactional email livewire
andrasbacsai Nov 3, 2024
4ed76f8
fix: destinations livewire refactor
andrasbacsai Nov 3, 2024
d4c3a27
refactor web.php
andrasbacsai Nov 3, 2024
fd546ce
fix: refactor destination/docker view
andrasbacsai Nov 3, 2024
1bdc2c6
refactor discord notification view
andrasbacsai Nov 3, 2024
8854eeb
refactor new project
andrasbacsai Nov 3, 2024
e99155b
remove unnecessary leftover
andrasbacsai Nov 3, 2024
3b4a81b
refactor add environment + remove unnecessary livewire component
andrasbacsai Nov 3, 2024
2f0f244
refactor project edit livewire
andrasbacsai Nov 3, 2024
ca7290c
refactor project env edit livewire
andrasbacsai Nov 3, 2024
83b3f6f
refactor application source view
andrasbacsai Nov 3, 2024
e4d5969
refactor swarm view livewire
andrasbacsai Nov 4, 2024
e30dcf1
refactor application preview livewire
andrasbacsai Nov 4, 2024
c11dfde
refactor create scheduled backup livewire
andrasbacsai Nov 4, 2024
2cbac34
refactor initscripts view
andrasbacsai Nov 4, 2024
34c7aa1
refactor backup edit view
andrasbacsai Nov 4, 2024
165d359
fix: logdrains validation
andrasbacsai Nov 4, 2024
1ab459a
fix: reworded
andrasbacsai Nov 4, 2024
7fb1a1f
fix: use Auth(), add new db proxy stop event refactor clickhouse view
andrasbacsai Nov 4, 2024
ffb1e10
fix dragonfly view
andrasbacsai Nov 4, 2024
2baea6e
fix
andrasbacsai Nov 4, 2024
e1d1056
fix: add user/pw to db view
andrasbacsai Nov 4, 2024
431c67e
fix: sort servers by name
andrasbacsai Nov 4, 2024
bf29dd4
fix: keydb view
andrasbacsai Nov 4, 2024
d24d139
refactor telegram notifications view
andrasbacsai Nov 4, 2024
9b578b2
do not use Rule (deprecated), changed to Validate
andrasbacsai Nov 5, 2024
ae7d88d
fix: refactor tags view / remove obsolete one
andrasbacsai Nov 5, 2024
ebaf3c9
fix: send discord/telegram notifications on high job queue
andrasbacsai Nov 5, 2024
bfad7c7
remove unnecesary route
andrasbacsai Nov 5, 2024
5ce6c3d
refactor server limit check job + email notifications view
andrasbacsai Nov 5, 2024
9995663
fix notifications
andrasbacsai Nov 5, 2024
f946579
delete unused component
andrasbacsai Nov 5, 2024
11b94e7
fix: server view refresh on validation
andrasbacsai Nov 5, 2024
41aadb7
refactor new team creation
andrasbacsai Nov 5, 2024
c8a3519
fix: showBoarding
andrasbacsai Nov 5, 2024
a076052
refactor application advanced view
andrasbacsai Nov 5, 2024
a0dd1fb
fix
andrasbacsai Nov 5, 2024
b99fa3b
fix: show docker installation logs & ubuntu 24.10 notification
andrasbacsai Nov 5, 2024
f3c35c7
fix: do not overlap servercheckjob
andrasbacsai Nov 5, 2024
904ffc8
fix: server limit check
andrasbacsai Nov 5, 2024
825e9b7
fix: server validation
andrasbacsai Nov 5, 2024
f8e6e92
cleanup
andrasbacsai Nov 5, 2024
673ac44
fix: clear route / view
andrasbacsai Nov 6, 2024
ff6f089
feat: add --gpu support for custom docker command
andrasbacsai Nov 6, 2024
51c76c1
fix: only skip docker installation on 24.10 if its not installed
andrasbacsai Nov 6, 2024
47cd8f9
fix: for --gpus device support
andrasbacsai Nov 6, 2024
0aa2ba6
fix: db/service start should be on high queue
andrasbacsai Nov 6, 2024
275edb6
put a few things on high queue
andrasbacsai Nov 6, 2024
f1587d3
cleanups
andrasbacsai Nov 6, 2024
bd64505
fix: do not stop sentinel on Coolify restart
andrasbacsai Nov 6, 2024
4b3bf83
only get enabled scheduled tasks
andrasbacsai Nov 6, 2024
a097f3b
ui
andrasbacsai Nov 6, 2024
695ab93
fixes
andrasbacsai Nov 6, 2024
7181774
chore(deps-dev): bump symfony/http-client from 6.4.12 to 6.4.14
dependabot[bot] Nov 6, 2024
e798dfb
chore(deps): bump symfony/http-foundation from 7.1.5 to 7.1.7
dependabot[bot] Nov 6, 2024
33519bf
fix: run resourceCheck after new serviceCheckJob
andrasbacsai Nov 7, 2024
2b518e2
refactor a few jobs
andrasbacsai Nov 7, 2024
8e3469b
fix new destination
andrasbacsai Nov 7, 2024
376a234
refactor scheduled task job (and related stuffs)
andrasbacsai Nov 7, 2024
4ce8d04
fix: mongodb in dev
andrasbacsai Nov 7, 2024
0305780
Update Dockerfile
peaklabs-dev Nov 7, 2024
a297c9f
fix: better invitation errors
andrasbacsai Nov 7, 2024
e86d9e3
mariadb desc is too long
andrasbacsai Nov 7, 2024
3f8208e
fix: loading indicator for db proxies
andrasbacsai Nov 7, 2024
31b49dc
fix: do not execute gh workflow on template changes
andrasbacsai Nov 7, 2024
6246eb7
update Nixpacks to the latest 1.29.0
andrasbacsai Nov 7, 2024
c7a593b
Merge pull request #4162 from peaklabs-dev/fix-dockerfile
andrasbacsai Nov 7, 2024
c1f853c
service template update
andrasbacsai Nov 7, 2024
7f26b89
Merge pull request #4148 from coollabsio/dependabot/composer/symfony/…
andrasbacsai Nov 7, 2024
a2d9968
Merge pull request #4147 from coollabsio/dependabot/composer/symfony/…
andrasbacsai Nov 7, 2024
0f52b75
chore(deps): bump symfony/process from 7.1.5 to 7.1.7
dependabot[bot] Nov 7, 2024
a9832e2
Merge pull request #3949 from peaklabs-dev/fix-project-deletion
andrasbacsai Nov 7, 2024
cf870f5
Merge pull request #3912 from peaklabs-dev/fix-default-adress-pool
andrasbacsai Nov 7, 2024
3617f3b
fix: only use sentry in cloud
andrasbacsai Nov 7, 2024
de52b96
chore(deps): bump symfony/http-foundation from 7.1.5 to 7.1.7
dependabot[bot] Nov 7, 2024
e2ed213
fix: update packagejson of coolify-realtime + add lock file
andrasbacsai Nov 7, 2024
21d9f35
new version of coolify-realtime
andrasbacsai Nov 7, 2024
f23dd51
Merge pull request #4163 from coollabsio/dependabot/composer/symfony/…
andrasbacsai Nov 7, 2024
19c8c4a
Merge pull request #4164 from coollabsio/dependabot/composer/symfony/…
andrasbacsai Nov 7, 2024
ea9892d
install ssh in install script
andrasbacsai Nov 7, 2024
e69b0ca
disable tcp proxy notification
andrasbacsai Nov 8, 2024
a2b6a61
fix: update last online with old function
andrasbacsai Nov 8, 2024
e7f2215
fix: seeder should not start sentinel
andrasbacsai Nov 8, 2024
9d9ac59
fix
andrasbacsai Nov 8, 2024
aa1e80c
fix: start sentinel on seeder
andrasbacsai Nov 8, 2024
390f2a0
fix expiration days to 3
andrasbacsai Nov 8, 2024
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
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,5 @@ yarn-error.log
.rnd
/.ssh
.ignition.json
.env.dusk.local
docker/coolify-realtime/node_modules
15 changes: 15 additions & 0 deletions .env.dusk.ci
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
APP_ENV=production
APP_NAME="Coolify Staging"
APP_ID=development
APP_KEY=
APP_URL=http://localhost
APP_PORT=8000
SSH_MUX_ENABLED=true

# PostgreSQL Database Configuration
DB_DATABASE=coolify
DB_USERNAME=coolify
DB_PASSWORD=password
DB_HOST=localhost
DB_PORT=5432

1 change: 1 addition & 0 deletions .env.windows-docker-desktop.example
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ APP_ID=coolify-windows-docker-desktop
APP_NAME=Coolify
APP_KEY=base64:ssTlCmrIE/q7whnKMvT6DwURikg69COzGsAwFVROm80=

DB_USERNAME=coolify
DB_PASSWORD=coolify
REDIS_PASSWORD=coolify

Expand Down
65 changes: 65 additions & 0 deletions .github/workflows/browser-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
name: Dusk
on:
push:
branches: [ "not-existing" ]
jobs:
dusk:
runs-on: ubuntu-latest

services:
redis:
image: redis
env:
REDIS_HOST: localhost
REDIS_PORT: 6379
ports:
- 6379:6379
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5

steps:
- uses: actions/checkout@v4
- name: Set up PostgreSQL
run: |
sudo systemctl start postgresql
sudo -u postgres psql -c "CREATE DATABASE coolify;"
sudo -u postgres psql -c "CREATE USER coolify WITH PASSWORD 'password';"
sudo -u postgres psql -c "ALTER ROLE coolify SET client_encoding TO 'utf8';"
sudo -u postgres psql -c "ALTER ROLE coolify SET default_transaction_isolation TO 'read committed';"
sudo -u postgres psql -c "ALTER ROLE coolify SET timezone TO 'UTC';"
sudo -u postgres psql -c "GRANT ALL PRIVILEGES ON DATABASE coolify TO coolify;"
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
- name: Copy .env
run: cp .env.dusk.ci .env
- name: Install Dependencies
run: composer install --no-progress --prefer-dist --optimize-autoloader
- name: Generate key
run: php artisan key:generate
- name: Install Chrome binaries
run: php artisan dusk:chrome-driver --detect
- name: Start Chrome Driver
run: ./vendor/laravel/dusk/bin/chromedriver-linux --port=4444 &
- name: Build assets
run: npm install && npm run build
- name: Run Laravel Server
run: php artisan serve --no-reload &
- name: Execute tests
run: php artisan dusk
- name: Upload Screenshots
if: failure()
uses: actions/upload-artifact@v4
with:
name: screenshots
path: tests/Browser/screenshots
- name: Upload Console Logs
if: failure()
uses: actions/upload-artifact@v4
with:
name: console
path: tests/Browser/console
89 changes: 65 additions & 24 deletions .github/workflows/coolify-helper-next.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Coolify Helper Image Development (v4)
name: Coolify Helper Image Development

on:
push:
Expand All @@ -8,7 +8,8 @@ on:
- docker/coolify-helper/Dockerfile

env:
REGISTRY: ghcr.io
GITHUB_REGISTRY: ghcr.io
DOCKER_REGISTRY: docker.io
IMAGE_NAME: "coollabsio/coolify-helper"

jobs:
Expand All @@ -19,25 +20,36 @@ jobs:
packages: write
steps:
- uses: actions/checkout@v4
- name: Login to ghcr.io

- name: Login to ${{ env.GITHUB_REGISTRY }}
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
registry: ${{ env.GITHUB_REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Login to ${{ env.DOCKER_REGISTRY }}
uses: docker/login-action@v3
with:
registry: ${{ env.DOCKER_REGISTRY }}
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}

- name: Get Version
id: version
run: |
echo "VERSION=$(docker run --rm -v "$(pwd):/app" -w /app ghcr.io/jqlang/jq:latest '.coolify.helper.version' versions.json)"|xargs >> $GITHUB_OUTPUT
- name: Build image and push to registry
uses: docker/build-push-action@v5

- name: Build and Push Image
uses: docker/build-push-action@v6
with:
no-cache: true
context: .
file: docker/coolify-helper/Dockerfile
platforms: linux/amd64
push: true
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.version.outputs.VERSION }}-next
tags: |
${{ env.DOCKER_REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.version.outputs.VERSION }}-next
${{ env.GITHUB_REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.version.outputs.VERSION }}-next
labels: |
coolify.managed=true
aarch64:
Expand All @@ -47,53 +59,82 @@ jobs:
packages: write
steps:
- uses: actions/checkout@v4
- name: Login to ghcr.io

- name: Login to ${{ env.GITHUB_REGISTRY }}
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
registry: ${{ env.GITHUB_REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Login to ${{ env.DOCKER_REGISTRY }}
uses: docker/login-action@v3
with:
registry: ${{ env.DOCKER_REGISTRY }}
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}

- name: Get Version
id: version
run: |
echo "VERSION=$(docker run --rm -v "$(pwd):/app" -w /app ghcr.io/jqlang/jq:latest '.coolify.helper.version' versions.json)"|xargs >> $GITHUB_OUTPUT
- name: Build image and push to registry
uses: docker/build-push-action@v5

- name: Build and Push Image
uses: docker/build-push-action@v6
with:
no-cache: true
context: .
file: docker/coolify-helper/Dockerfile
platforms: linux/aarch64
push: true
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.version.outputs.VERSION }}-next-aarch64
tags: |
${{ env.DOCKER_REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.version.outputs.VERSION }}-next-aarch64
${{ env.GITHUB_REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.version.outputs.VERSION }}-next-aarch64
labels: |
coolify.managed=true

merge-manifest:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
needs: [ amd64, aarch64 ]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to ghcr.io
- uses: actions/checkout@v4
- uses: docker/setup-buildx-action@v3

- name: Login to ${{ env.GITHUB_REGISTRY }}
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
registry: ${{ env.GITHUB_REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Login to ${{ env.DOCKER_REGISTRY }}
uses: docker/login-action@v3
with:
registry: ${{ env.DOCKER_REGISTRY }}
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}

- name: Get Version
id: version
run: |
echo "VERSION=$(docker run --rm -v "$(pwd):/app" -w /app ghcr.io/jqlang/jq:latest '.coolify.helper.version' versions.json)"|xargs >> $GITHUB_OUTPUT
- name: Create & publish manifest

- name: Create & publish manifest on ${{ env.GITHUB_REGISTRY }}
run: |
docker buildx imagetools create --append ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.version.outputs.VERSION }}-next-aarch64 --tag ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.version.outputs.VERSION }}-next --tag ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:next
docker buildx imagetools create \
--append ${{ env.GITHUB_REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.version.outputs.VERSION }}-next-aarch64 \
--tag ${{ env.GITHUB_REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.version.outputs.VERSION }}-next \
--tag ${{ env.GITHUB_REGISTRY }}/${{ env.IMAGE_NAME }}:next

- name: Create & publish manifest on ${{ env.DOCKER_REGISTRY }}
run: |
docker buildx imagetools create \
--append ${{ env.DOCKER_REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.version.outputs.VERSION }}-next-aarch64 \
--tag ${{ env.DOCKER_REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.version.outputs.VERSION }}-next \
--tag ${{ env.DOCKER_REGISTRY }}/${{ env.IMAGE_NAME }}:next

- uses: sarisia/actions-status-discord@v1
if: always()
with:
Expand Down
Loading