Memory-Limits

This commit is contained in:
2026-04-09 00:15:01 +02:00
parent c4005e0e4e
commit e4a0a91a91
23 changed files with 899 additions and 20 deletions
+4
View File
@@ -10,6 +10,8 @@ services:
timeout: 45s
interval: 10s
retries: 10
mem_limit: 512m
mem_reservation: 512m
volumes:
- /volume1/docker/gitea/db:/var/lib/postgresql:rw
environment:
@@ -26,6 +28,8 @@ services:
- no-new-privileges:true
healthcheck:
test: wget --no-verbose --tries=1 --spider http://localhost:3000/ || exit 1
mem_limit: 512m
mem_reservation: 512m
ports:
- 3052:3000
- 2222:22