Work in Progress
docker run --rm --net host datalust/seqcli:latest setting show --name=MinimumFreeStorageSpace --server "http://localhost:5342"
root@server:~# docker run --rm --net host datalust/seqcli:latest setting show --name=MinimumFreeStorageSpace --server "http://localhost:5342" 10737418240
docker run --rm --net host datalust/seqcli:latest setting set --name=MinimumFreeStorageSpace --value=10737418240 --server "http://localhost:5342"
root@server:~# docker run --rm --net host datalust/seqcli:latest retention update --json '{"RetentionTime": "1.00:00:00", "RemovedSignalExpression": null, "Id": "retentionpolicy-34"}' --server "http://localhost:5342" root@server:~# docker run --rm --net host datalust/seqcli:latest retention list --json --server "http://localhost:5342" {"RetentionTime": "1.00:00:00", "RemovedSignalExpression": null, "Id": "retentionpolicy-36"}
services: seq-cli: container_name: seq-cli image: datalust/seqcli:latest command: retention update --json '{"RetentionTime": "1.00:00:00", "RemovedSignalExpression": null, "Id": "retentionpolicy-34"}' --server "http://localhost:5342" depends_on: - seq-web restart: on-failure networks: - local-infrastructure
services: main-seq: image: "datalust/seq:latest" restart: unless-stopped mem_limit: 512M volumes: - "/opt/DockerVolumes/Seq:/data" environment: - "ACCEPT_EULA=Y" ports: - "5342:80"