Remove ressources limits and change restart to always
This commit is contained in:
+1
-3
@@ -2,8 +2,6 @@ services:
|
|||||||
stirling-pdf:
|
stirling-pdf:
|
||||||
container_name: Stirling-PDF
|
container_name: Stirling-PDF
|
||||||
image: stirlingtools/stirling-pdf
|
image: stirlingtools/stirling-pdf
|
||||||
mem_limit: 4g
|
|
||||||
cpu_shares: 1024
|
|
||||||
security_opt:
|
security_opt:
|
||||||
- no-new-privileges:true
|
- no-new-privileges:true
|
||||||
healthcheck:
|
healthcheck:
|
||||||
@@ -32,4 +30,4 @@ services:
|
|||||||
SYSTEM_MAXFILESIZE: 5000 # Set the maximum file size in MB
|
SYSTEM_MAXFILESIZE: 5000 # Set the maximum file size in MB
|
||||||
METRICS_ENABLED: true
|
METRICS_ENABLED: true
|
||||||
SYSTEM_GOOGLEVISIBILITY: false # or true
|
SYSTEM_GOOGLEVISIBILITY: false # or true
|
||||||
restart: on-failure:5
|
restart: always
|
||||||
Reference in New Issue
Block a user