fix: appwrite

This commit is contained in:
Andras Bacsai
2022-08-16 09:13:22 +00:00
parent 8b5c7c94cd
commit 91fa762985
8 changed files with 202 additions and 749 deletions

View File

@@ -13,13 +13,13 @@ export async function defaultServiceConfigurations({ id, teamId }) {
let secrets = [];
if (serviceSecret.length > 0) {
serviceSecret.forEach((secret) => {
secrets.push([secret.name]=secret.value);
secrets.push(`${secret.name}=${secret.value}`);
});
}
return { ...service, network, port, workdir, image, secrets }
}
export function defaultServiceComposeConfiguration(network: string) {
export function defaultServiceComposeConfiguration(network: string): any {
return {
networks: [network],
restart: 'always',