1c1 < version: "3" --- > version: "3.9" 5a6,9 > logging: > options: > max-size: "10m" > max-file: "3" 12c16 < - iot --- > - stats 14,15c18,20 < - ./mosquitto.conf:/mosquitto/config/mosquitto.conf < --- > - ./mosquitto.conf:/mosquitto/config/mosquitto.conf:ro > cpuset: "3" > 17c22,26 < image: influxdb --- > image: influxdb:1.8-alpine > logging: > options: > max-size: "10m" > max-file: "3" 23c32 < - iot --- > - stats 25,26c34,35 < - influxdb-data:/var/lib/influxdb2 < - influxdb-config:/etc/influxdb2 --- > - ./influxdb-storage:/var/lib/influxdb > - ./influxdb.conf:/etc/influxdb/influxdb.conf:ro 28,34c37,41 < - DOCKER_INFLUXDB_INIT_MODE=setup < - DOCKER_INFLUXDB_INIT_USERNAME=user < - DOCKER_INFLUXDB_INIT_PASSWORD=password1234 < - DOCKER_INFLUXDB_INIT_ORG=some_org < - DOCKER_INFLUXDB_INIT_BUCKET=some_data < - DOCKER_INFLUXDB_INIT_ADMIN_TOKEN=4eYvsu8wZCJ6tKuE2sxvFHkvYFwSMVK0011hEEiojvejzpSaij86vYQomN_12au6eK-2MZ6Knr-Sax201y70w== < --- > - INFLUXDB_DB="testbench" > security_opt: > - no-new-privileges:true > cpuset: "3" > 36a44,47 > logging: > options: > max-size: "10m" > max-file: "3" 45,46c56,58 < - iot < --- > - stats > cpuset: "3" > 48a61,64 > logging: > options: > max-size: "10m" > max-file: "3" 50a67 > user: "1000" 54c71 < - iot --- > - stats 57c74,76 < - grafana-data:/var/lib/grafana --- > - ./grafana-data:/var/lib/grafana > - ./grafana.ini:/etc/grafana/grafana.ini > 59a79 > cpuset: "3" 62c82 < iot: --- > stats: 67c87 < influxdb-config: \ No newline at end of file --- > influxdb-config: