Skip to content

Commit d6efe7e

Browse files
committed
feat: add ulimits configuration for Docker Compose in copy-node modal
1 parent bf65c29 commit d6efe7e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/widgets/dashboard/nodes/create-node-modal/create-node-steps/copy-docker-compose.widget.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ export const CopyDockerComposeWidget = ({ port }: IProps) => {
2525
image: remnawave/node:latest
2626
network_mode: host
2727
restart: always
28+
ulimits:
29+
nofile:
30+
soft: 1048576
31+
hard: 1048576
2832
environment:
2933
- NODE_PORT=${port ?? 2222}
3034
- SECRET_KEY="${pubKey.pubKey.trimEnd()}"`

0 commit comments

Comments
 (0)