mirror of
https://github.com/LukeHagar/dokploy.git
synced 2025-12-06 12:27:49 +00:00
chore: add recomendation to show variables
This commit is contained in:
@@ -185,6 +185,7 @@ export function generate(schema: Schema): Template {
|
|||||||
const toptKeyBase = generateBase64(32);
|
const toptKeyBase = generateBase64(32);
|
||||||
|
|
||||||
const envs = [
|
const envs = [
|
||||||
|
// If you want to show a domain in the UI, please add the prefix _HOST at the end of the variable name.
|
||||||
`PLAUSIBLE_HOST=${randomDomain}`,
|
`PLAUSIBLE_HOST=${randomDomain}`,
|
||||||
"PLAUSIBLE_PORT=8000",
|
"PLAUSIBLE_PORT=8000",
|
||||||
`BASE_URL=http://${randomDomain}`,
|
`BASE_URL=http://${randomDomain}`,
|
||||||
@@ -235,5 +236,6 @@ export function generate(schema: Schema): Template {
|
|||||||
### Recomendations
|
### Recomendations
|
||||||
- Use the same name of the folder as the id of the template.
|
- Use the same name of the folder as the id of the template.
|
||||||
- The logo should be in the public folder.
|
- The logo should be in the public folder.
|
||||||
|
- If you want to show a domain in the UI, please add the prefix _HOST at the end of the variable name.
|
||||||
- Test first on a vps or a server to make sure the template works.
|
- Test first on a vps or a server to make sure the template works.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user