chore: Fosil-erako azken doikuntzak egiten ditu
This commit is contained in:
@@ -7,7 +7,15 @@ export default {
|
|||||||
*
|
*
|
||||||
* This gives you an opportunity to extend code.
|
* This gives you an opportunity to extend code.
|
||||||
*/
|
*/
|
||||||
register(/* { strapi }: { strapi: Core.Strapi } */) {},
|
register({ strapi }) {
|
||||||
|
// Force the socket to be treated as encrypted for proxy setups
|
||||||
|
strapi.server.use(async (ctx, next) => {
|
||||||
|
if (ctx.req?.socket) {
|
||||||
|
(ctx.req.socket as any).encrypted = true;
|
||||||
|
}
|
||||||
|
await next();
|
||||||
|
});
|
||||||
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* An asynchronous bootstrap function that runs before
|
* An asynchronous bootstrap function that runs before
|
||||||
|
|||||||
@@ -2,14 +2,13 @@ services:
|
|||||||
strapi:
|
strapi:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: dockerfile
|
container_name: laba-kudeatu
|
||||||
container_name: strapi
|
|
||||||
ports:
|
ports:
|
||||||
- "1337:1337"
|
- "1337:1337"
|
||||||
environment:
|
environment:
|
||||||
NODE_ENV: production
|
NODE_ENV: production
|
||||||
volumes:
|
volumes:
|
||||||
- strapi_data:/app/back/.tmp
|
- /var/fosil/laba/kudeatu/back/.tmp:/app/back/.tmp
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
@@ -37,9 +37,6 @@
|
|||||||
"e2e:open": "pnpm --filter e2e open"
|
"e2e:open": "pnpm --filter e2e open"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"back": "workspace:*",
|
|
||||||
"e2e": "workspace:*",
|
|
||||||
"front": "workspace:*",
|
|
||||||
"prettier": "^3.6.2"
|
"prettier": "^3.6.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user