mirror of
https://github.com/pockethost/pockethost.git
synced 2025-06-06 06:06:45 +00:00
chore: add ulimit to containers
This commit is contained in:
parent
bc300b6540
commit
bed1c58628
@ -37,3 +37,5 @@ pnpm
|
||||
cd ..
|
||||
|
||||
```
|
||||
|
||||
Discussion about ulimits https://chat.openai.com/share/f9ff9df7-9afd-48ce-9a04-d44b4a8a3066
|
||||
|
@ -186,11 +186,17 @@ export const createPocketbaseService = async (
|
||||
name: `${name}-${+new Date()}`,
|
||||
HostConfig: {
|
||||
AutoRemove: true,
|
||||
CpuPercent: 10,
|
||||
PortBindings: {
|
||||
'8090/tcp': [{ HostPort: `${port}` }],
|
||||
},
|
||||
Binds,
|
||||
Ulimits: [
|
||||
{
|
||||
Name: 'nofile',
|
||||
Soft: 1024,
|
||||
Hard: 1024,
|
||||
},
|
||||
],
|
||||
},
|
||||
Tty: false,
|
||||
ExposedPorts: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user