set 4G RAM limit
This commit is contained in:
parent
6f73d503d5
commit
aaa6c6e68f
@ -1,4 +1,4 @@
|
|||||||
version: '2'
|
version: '2.1'
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
data: {}
|
data: {}
|
||||||
@ -23,3 +23,15 @@ services:
|
|||||||
- PULSE_SERVER=unix:$XDG_RUNTIME_DIR/pulse/native
|
- PULSE_SERVER=unix:$XDG_RUNTIME_DIR/pulse/native
|
||||||
- TZ=Europe/Amsterdam
|
- TZ=Europe/Amsterdam
|
||||||
shm_size: 4G
|
shm_size: 4G
|
||||||
|
mem_limit: 4G
|
||||||
|
|
||||||
|
# For versions above: '3.0'
|
||||||
|
# deploy:
|
||||||
|
# resources:
|
||||||
|
# limits:
|
||||||
|
# memory: 4G
|
||||||
|
# restart_policy:
|
||||||
|
# condition: none
|
||||||
|
# delay: 5s
|
||||||
|
# max_attempts: 1
|
||||||
|
# window: 120s
|
||||||
|
Loading…
Reference in New Issue
Block a user