Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

Merge branch 'next' into feature/glitchtip-service

Andras Bacsai8c30472472c4
diff --cc apps/api/src/lib/common.ts
index a2eb41dae9,1c9c000adc..50e41a1fd5
--- a/apps/api/src/lib/common.ts
+++ b/apps/api/src/lib/common.ts
@@@ -1844,4 -1832,20 +1871,18 @@@ export function persistentVolumes(id, p
...composeVolumes
) || {}
return { volumes, volumeMounts }
-
-
}
+ export function defaultComposeConfiguration(network: string): any {
+ return {
+ networks: [network],
+ restart: 'on-failure',
+ deploy: {
+ restart_policy: {
+ condition: 'on-failure',
+ delay: '5s',
+ max_attempts: 10,
+ window: '120s'
+ }
+ }
+ }
-}
++}