docker-compose started log code example
Example: docker compose limit logs
services:
pgadmin:
image: dpage/pgadmin4
logging:
driver: "json-file"
options:
max-size: "1024m"
services:
pgadmin:
image: dpage/pgadmin4
logging:
driver: "json-file"
options:
max-size: "1024m"