mirror of
https://github.com/andwati/dokploy.git
synced 2026-10-21 12:34:29 +00:00
Complete fix for Stack compose environment variable substitution
Co-authored-by: Siumauricio <[email protected]>
This commit is contained in:
co-authored by
Siumauricio
parent
f39b511316
commit
c1d452bcf7
+1
-5
@@ -72,11 +72,7 @@ PASSWORD=secret123
|
||||
DATABASE_URL=postgresql://\${{environment.USERNAME}}:\${{environment.PASSWORD}}@\${{environment.HOST}}:\${{environment.PORT}}/mydb
|
||||
`;
|
||||
|
||||
const result = getEnviromentVariablesObject(
|
||||
serviceEnv,
|
||||
"",
|
||||
multiRefEnv,
|
||||
);
|
||||
const result = getEnviromentVariablesObject(serviceEnv, "", multiRefEnv);
|
||||
|
||||
expect(result).toEqual({
|
||||
DATABASE_URL: "postgresql://postgres:secret123@localhost:5432/mydb",
|
||||
|
||||
Reference in New Issue
Block a user