Memory-Limits
This commit is contained in:
Regular → Executable
+4
@@ -5,6 +5,8 @@ services:
|
||||
image: mariadb:11
|
||||
container_name: nextcloud-db
|
||||
restart: unless-stopped
|
||||
mem_limit: 1g
|
||||
mem_reservation: 1g
|
||||
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
|
||||
volumes:
|
||||
- /volume1/docker/nextcloud/db:/var/lib/mysql:rw
|
||||
@@ -19,6 +21,8 @@ services:
|
||||
image: nextcloud:latest
|
||||
container_name: nextcloud-app
|
||||
restart: unless-stopped
|
||||
mem_limit: 1g
|
||||
mem_reservation: 1g
|
||||
ports:
|
||||
- "8080:80"
|
||||
volumes:
|
||||
|
||||
Reference in New Issue
Block a user