Skip to content

Commit 2e04292

Browse files
authored
Merge pull request #33 from backstage/djamaile-patch-1
fix: change order of merging configs
2 parents ebc537b + 0942039 commit 2e04292

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

src/programs/aws.ts

+4-3
Original file line numberDiff line numberDiff line change
@@ -185,9 +185,10 @@ export const AWSProgram = (opts: OptionValues) => {
185185
DATABASE_PASSWORD: db?.masterPassword,
186186
};
187187

188-
const CONTAINER_SERVICE_URL = containerService.url.apply(url =>
189-
url.endsWith('/') ? url.slice(0, -1) : url
188+
const containerServiceUrl = containerService.url.apply(url =>
189+
url.endsWith('/') ? url.slice(0, -1) : url,
190190
);
191+
191192
/* eslint-disable no-new */
192193
new aws.lightsail.ContainerServiceDeploymentVersion(
193194
`${opts.stack}-deployment`,
@@ -206,7 +207,7 @@ export const AWSProgram = (opts: OptionValues) => {
206207
APP_CONFIG_app_baseUrl: containerService.url,
207208
}
208209
: {
209-
BACKSTAGE_HOST: CONTAINER_SERVICE_URL,
210+
BACKSTAGE_HOST: containerServiceUrl,
210211
}),
211212
...providedEnvironmentVariables,
212213
...(opts.withDb || opts.quickstart ? DB_ENVS : {}),

templates/pulumi/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ RUN echo "techdocs:" >> app-config.deployment.yaml
3737
RUN echo " generator:" >> app-config.deployment.yaml
3838
RUN echo " runIn: 'local'" >> app-config.deployment.yaml
3939

40-
CMD ["node", "packages/backend", "--config", "app-config.deployment.yaml", "--config", "app-config.yaml"]
40+
CMD ["node", "packages/backend", "--config", "app-config.yaml", "--config", "app-config.deployment.yaml"]

0 commit comments

Comments
 (0)