mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
refactor: update share to project
This commit is contained in:
@@ -106,10 +106,10 @@ export const AddEnv = ({ projectId }: Props) => {
|
|||||||
want to use it in your service, you need to use like this:
|
want to use it in your service, you need to use like this:
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
<code>ENVIRONMENT=${"${{shared.ENVIRONMENT}}"}</code>
|
<code>ENVIRONMENT=${"{{project.ENVIRONMENT}}"}</code>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<code>DATABASE_URL=${"${{shared.DATABASE_URL}}"}</code>
|
<code>DATABASE_URL=${"{{project.DATABASE_URL}}"}</code>
|
||||||
</li>
|
</li>
|
||||||
</ul>{" "}
|
</ul>{" "}
|
||||||
This allows the service to inherit and use the shared variables from
|
This allows the service to inherit and use the shared variables from
|
||||||
|
|||||||
Reference in New Issue
Block a user