fix: add logging limit
This commit is contained in:
@@ -3,6 +3,11 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: backend/Dockerfile
|
dockerfile: backend/Dockerfile
|
||||||
|
logging:
|
||||||
|
driver: json-file
|
||||||
|
options:
|
||||||
|
max-size: "200m"
|
||||||
|
max-file: "10"
|
||||||
restart: "no"
|
restart: "no"
|
||||||
command:
|
command:
|
||||||
- uv
|
- uv
|
||||||
@@ -21,6 +26,11 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: frontend/Dockerfile
|
dockerfile: frontend/Dockerfile
|
||||||
|
logging:
|
||||||
|
driver: json-file
|
||||||
|
options:
|
||||||
|
max-size: "200m"
|
||||||
|
max-file: "10"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
# Architecture §2.2: this is the only service exposed to the host. The
|
# Architecture §2.2: this is the only service exposed to the host. The
|
||||||
# default.conf file is mounted as a template; scripts/nginx-entrypoint.sh
|
# default.conf file is mounted as a template; scripts/nginx-entrypoint.sh
|
||||||
@@ -50,6 +60,11 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: backend/Dockerfile
|
dockerfile: backend/Dockerfile
|
||||||
|
logging:
|
||||||
|
driver: json-file
|
||||||
|
options:
|
||||||
|
max-size: "200m"
|
||||||
|
max-file: "10"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
# No host port: architecture §2.2 — only Nginx is externally reachable.
|
# No host port: architecture §2.2 — only Nginx is externally reachable.
|
||||||
# No local-FS volume: backend stores everything in S3 (S3_*).
|
# No local-FS volume: backend stores everything in S3 (S3_*).
|
||||||
@@ -96,6 +111,11 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: runtime/Dockerfile
|
dockerfile: runtime/Dockerfile
|
||||||
|
logging:
|
||||||
|
driver: json-file
|
||||||
|
options:
|
||||||
|
max-size: "200m"
|
||||||
|
max-file: "10"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- 8892:8000
|
- 8892:8000
|
||||||
@@ -150,6 +170,11 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: schedule/Dockerfile
|
dockerfile: schedule/Dockerfile
|
||||||
|
logging:
|
||||||
|
driver: json-file
|
||||||
|
options:
|
||||||
|
max-size: "200m"
|
||||||
|
max-file: "10"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
# No host port: architecture §2.2 — only Nginx is externally reachable.
|
# No host port: architecture §2.2 — only Nginx is externally reachable.
|
||||||
# No local-FS volume: schedule executes nodes via tempfile.TemporaryDirectory
|
# No local-FS volume: schedule executes nodes via tempfile.TemporaryDirectory
|
||||||
|
|||||||
Reference in New Issue
Block a user