-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathcompose-agent.yml
More file actions
32 lines (27 loc) · 694 Bytes
/
compose-agent.yml
File metadata and controls
32 lines (27 loc) · 694 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
version: '2'
services:
logger:
build: .
image: umputun/dkll
container_name: "dkll-agent"
hostname: "dkll-agent"
restart: always
logging:
driver: json-file
options:
max-size: "10m"
max-file: "5"
environment:
- LOG_FILES=true
- LOG_SYSLOG=false
- EXCLUDE=docker-logger
- MAX_FILES=10
- MAX_SIZE=50
- MAX_AGE=20
- DEBUG=false
- APP_UID=0 # you can specify any userid with access to docker.sock or leave 0 to run with root access
# - TIME_ZONE=America/Chicago
volumes:
- ./logs:/srv/logs
- /var/run/docker.sock:/var/run/docker.sock
command: ["/srv/dkll", "agent"]