ВМ1: реализован сбор логов
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
services:
|
||||
nginx:
|
||||
image: ${NGINX_IMAGE:?NGINX_IMAGE must be pinned by digest}
|
||||
labels:
|
||||
com.han.service.name: nginx
|
||||
environment:
|
||||
APP_ENV: ${APP_ENV:-production-like}
|
||||
PUBLIC_HOST: ${PUBLIC_HOST}
|
||||
@@ -64,4 +66,7 @@ services:
|
||||
nofile: {soft: 65536, hard: 65536}
|
||||
logging:
|
||||
driver: json-file
|
||||
options: {max-size: "50m", max-file: "5"}
|
||||
options:
|
||||
max-size: "50m"
|
||||
max-file: "5"
|
||||
tag: nginx
|
||||
|
||||
Reference in New Issue
Block a user