We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7969141 commit b1395a9Copy full SHA for b1395a9
packages/dappmanager/src/modules/manifest/manifestToCompose.ts
@@ -25,6 +25,11 @@ export function manifestToCompose(manifest: ManifestWithImage): Compose {
25
for (const vol of parseVolumeMappings(image.volumes))
26
if (vol.name) volumes[vol.name] = {};
27
28
+ // FORBID, DEPRECATED features
29
+ if (((image as unknown) as { external_vol: string[] }).external_vol) {
30
+ throw Error("External volumes are not allowed");
31
+ }
32
+
33
// Clean undefined and empty values
34
// Using ternary operators and undefined to avoid using if statements
35
// and have a clearer docker-compose looking syntax
0 commit comments