Update: Cpu && Memory quota
This commit is contained in:
parent
c79fbabf1c
commit
6bb49e6a74
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user