mirror of
https://github.com/BreizhHardware/Jellystat.git
synced 2026-01-18 16:27:20 +01:00
fix(docker-compose.yml): move logging configuration to individual services
This commit is contained in:
@@ -6,6 +6,11 @@ services:
|
||||
shm_size: '1gb'
|
||||
container_name: jellystat-db
|
||||
restart: unless-stopped
|
||||
logging:
|
||||
driver: "json-file"
|
||||
options:
|
||||
max-file: "5"
|
||||
max-size: "10m"
|
||||
environment:
|
||||
POSTGRES_USER: postgres
|
||||
POSTGRES_PASSWORD: mypassword
|
||||
@@ -16,6 +21,11 @@ services:
|
||||
image: cyfershepard/jellystat:latest
|
||||
container_name: jellystat
|
||||
restart: unless-stopped
|
||||
logging:
|
||||
driver: "json-file"
|
||||
options:
|
||||
max-file: "5"
|
||||
max-size: "10m"
|
||||
environment:
|
||||
POSTGRES_USER: postgres
|
||||
POSTGRES_PASSWORD: mypassword
|
||||
@@ -36,9 +46,3 @@ networks:
|
||||
volumes:
|
||||
postgres-data:
|
||||
jellystat-backup-data:
|
||||
|
||||
logging:
|
||||
driver: "json-file"
|
||||
options:
|
||||
max-file: "5" # number of files or file count
|
||||
max-size: "10m" # file size
|
||||
|
||||
Reference in New Issue
Block a user