...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
version: '3' services: prometheus: image: prom/prometheus container_name: prometheus ports: - 90:9090 restart: always user: '1000' volumes: - "$PWD/promdata:/prometheus" - "$PWD/promconf:/etc/prometheus:ro" command: "--config.file=/etc/prometheus/prometheus.yml --storage.tsdb.retention=90d" logging: driver: "json-file" options: max-size: "200k" max-file: "10" |
...