Enable log rotation for all containers using Compose file
Chooses the recommended local logging driver to enable automatic log rotation for all containers. Adding this configuration in the Compose file means that we don't need provisioning solutions to enforce a setting within a sensor's installation of Docker.
This changes the logging driver from json-file to local, so the log format is changed. The local driver defaults to preserving 100 MB of logs per container (5x20MB files). In this configuration, SCOS Sensor logs are capped at 400 MB. Modification of the Compose file can alter these settings per-sensor.
(Finally!) resolves #50.
This looks ready to me. Is this intended to still be in draft?
I haven't had a chance to test this yet @dboulware
Updated in https://github.com/NTIA/scos-sensor/pull/292