mirror of
https://github.com/C9Glax/tranga.git
synced 2025-06-30 07:54:16 +02:00
include logging driver in docker-compose
Remove parameters from start-CMD in Dockerfile
This commit is contained in:
@ -16,6 +16,11 @@ services:
|
||||
environment:
|
||||
- POSTGRES_HOST=tranga-pg
|
||||
restart: unless-stopped
|
||||
logging:
|
||||
driver: json-file
|
||||
options:
|
||||
max-size: "10m"
|
||||
max-file: "5"
|
||||
tranga-pg:
|
||||
image: postgres:latest
|
||||
container_name: tranga-pg
|
||||
@ -30,3 +35,8 @@ services:
|
||||
retries: 5
|
||||
start_period: 80s
|
||||
restart: unless-stopped
|
||||
logging:
|
||||
driver: json-file
|
||||
options:
|
||||
max-size: "10m"
|
||||
max-file: "5"
|
||||
|
Reference in New Issue
Block a user