You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
⬆️ Update Supabase template to version 1.25.03 (#76)
* ⬆️ Update Supabase template to version 1.25.03
* 🐛 Fix url in mail pointing to kong
* ✨ Use new jwt helpers to generate unique jwts
* 📝 Update README to reflect new changes in helpers
- related PR on dokploy Dokploy/dokploy#1749
* ✨ Add pre0.21.8 version of supabase template + use jwt generation in newer template
* 🔧 Add field dokploy_version for supabase templates
* ⬆️ Update supabase version to 1.25.04 for dokploy >=0.1.28
* 🐛 Fix logs in supabase by adding dynamic container names and modifying vector.yml
* ⬆️ Backport supabase 1.25.04 for dokploy < 0.21.8
* 📝 Add link to supabase self-hosting documentation in env file
* 🚚 Change container_name_prefix to include appName
* Update blueprints/pre0.21.8-supabase/template.toml
* Update blueprints/supabase/template.toml
* 🐛 Fix template using appname in older version of template
---------
Co-authored-by: Mauricio Siu <[email protected]>
Copy file name to clipboardExpand all lines: README.md
+25-5Lines changed: 25 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ This is the official repository for the Dokploy Open Source Templates.
14
14
7. Create a pull request (PR)
15
15
8. Every PR will automatically deploy a preview of the template to Dokploy.
16
16
9. if anyone want to test the template before merging it, you can enter to the preview URL in the PR description, and search the template, click on the Template Card, scroll down and then copy the BASE64 value, and paste in the advanced section of your compose service, in the Import section or optional you can use the preview URL and paste in the
17
-
BASE URL when creating a template.
17
+
BASE URL when creating a template.
18
18
19
19
#### Optional
20
20
@@ -138,15 +138,35 @@ Important: you can reference any variable in the `domains`, `env` and `mounts` s
138
138
We have a few helpers that are very common when creating a template, these are:
139
139
140
140
- `domain`: This is a helper that will generate a random domain for the template.
141
-
- `base64 or base64:length`: This is a helper that will encode a string to base64.
141
+
- `base64 or base64:length`: This is a helper that will encode a string to base64 (lenght is the number of bytes to encode not the encoded string length).
142
142
- `password or password:length`: This is a helper that will generate a random password for the template.
143
-
- `hash or hash:length`: This is a helper that will generate a hash for the template.
143
+
- `hash or hash:length`: This is a helper that will generate a hash for the template
144
144
- `uuid`: This is a helper that will generate a uuid for the template.
145
145
- `randomPort`: This is a helper that will generate a random port for the template.
146
-
- `timestamp`: This is a helper that will generate a timestamp.
147
-
- `jwt or jwt:length`: This is a helper that will generate a jwt for the template.
148
146
- `email`: This is a helper that will generate a random email for the template.
149
147
- `username`: This is a helper that will generate a random username in lowercase for the template.
148
+
- `timestamp`: This is a helper that will generate a timestamp for "now" in milli-second.
149
+
- `timestampms or timestampms:datetime`: This is a helper that will generate a timestamp in milli-seconds.
150
+
- `timestamps or timestamps:datetime`: This is a helper that will generate a timestamp in seconds.
151
+
- `datetime` parameter for `timestamps/timestampms` helpers must be a valid value for javascript new Date() (ie: `timestamps:2030-01-01T00:00:00Z`)
152
+
- `jwt`: This is a helper that will generate a jwt for the template.
153
+
- `jwt:length`: will generate a random hex string of bytes length. _This should not be used in newer templates_
154
+
- `jwt:secret_var_name`: will generate a jwt with some default values, secret var name should be the name of the variable holding the secret
155
+
- `jwt:secret_var_name:payload_var_name`: is the same as above but you can pass partial or full payload for the jwt.
0 commit comments