setup logging config

revamp-ui
lza_menace 2 years ago
parent 6bb758ca46
commit 044b308a7d

@ -1,4 +1,10 @@
version: '3' version: '3'
x-log-config: &log-config
logging:
driver: json-file
options:
max-size: "50m"
max-file: "5"
services: services:
tor: tor:
container_name: fail-tor container_name: fail-tor
@ -8,6 +14,7 @@ services:
restart: unless-stopped restart: unless-stopped
ports: ports:
- 127.0.0.1:9050:9050 - 127.0.0.1:9050:9050
<<: *log-config
i2p: i2p:
container_name: fail-i2p container_name: fail-i2p
build: build:
@ -16,5 +23,4 @@ services:
restart: unless-stopped restart: unless-stopped
ports: ports:
- 127.0.0.1:4444:4444 - 127.0.0.1:4444:4444
volumes: <<: *log-config
- ./data/i2pd:/home/i2p/.i2pd

Loading…
Cancel
Save