feat: custom/private docker registries
This commit is contained in:
@@ -23,7 +23,6 @@ async function main() {
|
||||
},
|
||||
data: {
|
||||
isTraefikUsed: true,
|
||||
proxyHash: null
|
||||
}
|
||||
});
|
||||
}
|
||||
@@ -92,6 +91,11 @@ async function main() {
|
||||
}
|
||||
}
|
||||
}
|
||||
// Add default docker registry (dockerhub)
|
||||
const registries = await prisma.dockerRegistry.findMany()
|
||||
if (registries.length === 0) {
|
||||
await prisma.dockerRegistry.create({ data: { id: "0", name: 'Docker Hub', url: 'https://index.docker.io/v1/', isSystemWide: true } })
|
||||
}
|
||||
}
|
||||
main()
|
||||
.catch((e) => {
|
||||
|
Reference in New Issue
Block a user