Skip to content

Commit

Permalink
refactor: update share to project
Browse files Browse the repository at this point in the history
  • Loading branch information
Siumauricio committed Nov 18, 2024
1 parent ddbb414 commit a6e7edd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/dokploy/components/dashboard/projects/add-env.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,10 @@ export const AddEnv = ({ projectId }: Props) => {
want to use it in your service, you need to use like this:
<ul>
<li>
<code>ENVIRONMENT=${"${{shared.ENVIRONMENT}}"}</code>
<code>ENVIRONMENT=${"{{project.ENVIRONMENT}}"}</code>
</li>
<li>
<code>DATABASE_URL=${"${{shared.DATABASE_URL}}"}</code>
<code>DATABASE_URL=${"{{project.DATABASE_URL}}"}</code>
</li>
</ul>{" "}
This allows the service to inherit and use the shared variables from
Expand Down

0 comments on commit a6e7edd

Please sign in to comment.