mirror of
https://github.com/coollabsio/coolify-docs.git
synced 2026-06-19 07:35:55 +00:00
docs(content): fix inline codes showing escaped Vue braces
This commit is contained in:
@@ -18,8 +18,8 @@ These preview deployments are automatically deleted once the associated pull req
|
||||
<ZoomImage src="/docs/images/applications/ci-cd/github/preview-deploy/4.webp" />
|
||||
|
||||
- **Preview URL Template:** Each preview deployment gets its own unique URL based on this template.
|
||||
- Use <code v-pre>{{random}}</code> to generate a random subdomain each time a PR is deployed.
|
||||
- Use <code v-pre>{{pr_id}}</code> to use the pull request ID as the subdomain.
|
||||
- Use `{{random}}` to generate a random subdomain each time a PR is deployed.
|
||||
- Use `{{pr_id}}` to use the pull request ID as the subdomain.
|
||||
|
||||
|
||||
<Callout type="warn" title="IMPORTANT">
|
||||
|
||||
@@ -141,7 +141,7 @@ Preview deployments are a great way to test your application before merging it i
|
||||
|
||||
#### URL Template
|
||||
|
||||
You can setup your preview URL with a custom template. Default is <span v-pre>`{{pr_id}}.{{domain}}`</span>.
|
||||
You can setup your preview URL with a custom template. Default is <span v-pre>`{{pr_id}};.{{domain}};`</span>.
|
||||
|
||||
This means that if you open a Pull Request with the ID `123`, and you resource domain is `example.com` the preview URL will be `123.example.com`.
|
||||
|
||||
@@ -149,7 +149,7 @@ This means that if you open a Pull Request with the ID `123`, and you resource d
|
||||
<Callout type="success" title="TIP">
|
||||
|
||||
If you have several domains for your resource, the first will be used as the{" "}
|
||||
<span v-pre>`{{ domain }}`</span> part.
|
||||
<span v-pre>`{{ domain }};`</span> part.
|
||||
|
||||
</Callout>
|
||||
|
||||
|
||||
@@ -154,7 +154,7 @@ If in developer view, you can enter it like so;
|
||||
SOME_VARIABLE_IN_COOLIFY_UI={{environment.SOME_SHARED_VARIABLE}}
|
||||
```
|
||||
|
||||
Or in the normal view, the Name is what's referenced in the Docker Compose file `SOME_VARIABLE_IN_COOLIFY_UI` with the Value being the referenced environment variable `{{environment.SOME_SHARED_VARIABLE}}` as seen below. Once saved if correct, you'll see there's a third text box, if you reveal this, you should be able to see the true value, in this case `SOME_VALUE`.
|
||||
Or in the normal view, the Name is what's referenced in the Docker Compose file `SOME_VARIABLE_IN_COOLIFY_UI` with the Value being the referenced environment variable `{{environment.SOME_SHARED_VARIABLE}}` as seen below. Once saved if correct, you'll see there's a third text box, if you reveal this, you should be able to see the true value, in this case `SOME_VALUE`.
|
||||
|
||||
|
||||
</Callout>
|
||||
|
||||
@@ -162,15 +162,15 @@ Then you can use these variables anywhere. For example: You defined `NODE_ENV` t
|
||||
|
||||
### Team Based
|
||||
|
||||
You can set them on the `Team` page and use it with <code v-pre>{{team.NODE_ENV}}</code>. Do not replace "team" with your actual team name.
|
||||
You can set them on the `Team` page and use it with `{{team.NODE_ENV}}`. Do not replace "team" with your actual team name.
|
||||
|
||||
### Project Based
|
||||
|
||||
You can set them on the `Projects` page, under the gear icon and use it with <code v-pre>{{project.NODE_ENV}}</code>. Do not replace "project" with your actual project name.
|
||||
You can set them on the `Projects` page, under the gear icon and use it with `{{project.NODE_ENV}}`. Do not replace "project" with your actual project name.
|
||||
|
||||
### Environment Based
|
||||
|
||||
You can set them on the `Environments` page (select a `Project`), under the gear icon and use it with <code v-pre>{{environment.NODE_ENV}}</code> Do not replace "environment" with your actual environment name.
|
||||
You can set them on the `Environments` page (select a `Project`), under the gear icon and use it with `{{environment.NODE_ENV}}` Do not replace "environment" with your actual environment name.
|
||||
|
||||
### Using Environment and Shared Variables in Docker Compose
|
||||
|
||||
|
||||
Reference in New Issue
Block a user