add memory limit to container
This commit is contained in:
@@ -7,6 +7,10 @@ After=network-online.target
|
|||||||
Image=localhost/wiji-web:latest
|
Image=localhost/wiji-web:latest
|
||||||
ContainerName=wiji-web
|
ContainerName=wiji-web
|
||||||
PublishPort=8421:8421
|
PublishPort=8421:8421
|
||||||
|
Memory=64m
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
MemoryAccounting=yes
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=default.target
|
WantedBy=default.target
|
||||||
|
|||||||
Reference in New Issue
Block a user