Update: Cpu && Memory quota

This commit is contained in:
Luca 2022-03-01 21:29:14 +00:00
parent c79fbabf1c
commit 6bb49e6a74

View File

@ -1,8 +1,12 @@
version: '3'
version: '2.4'
services:
db:
image: mariadb
mem_limit: 100m
cpus: 0.1
cpu_percent: 20
mem_reservation: 100m
restart: always
user: ${USER_GROUP}
volumes:
@ -15,6 +19,10 @@ services:
wordpress:
build: .
mem_limit: 200m
cpus: 0.1
cpu_percent: 20
mem_reservation: 100m
user: ${USER_GROUP}
volumes:
- ./data:/app