Bartosz Kupidura | 3cbee94 | 2017-03-20 13:47:06 +0100 | [diff] [blame] | 1 | include: |
| 2 | - service.prometheus.server.container |
| 3 | parameters: |
| 4 | docker: |
| 5 | client: |
| 6 | service: |
| 7 | prometheus_server: |
| 8 | network: monitoring |
| 9 | replica: 1 |
| 10 | environment: |
| 11 | config_dir: /opt/prometheus/config |
| 12 | bind_port: ${prometheus:server:bind:port} |
| 13 | bind_address: ${prometheus:server:bind:address} |
| 14 | alertmanager_port: ${prometheus:alertmanager:bind:port} |
| 15 | storage_local_engine: ${prometheus:server:storage:local:engine} |
| 16 | storage_local_retention: ${prometheus:server:storage:local:retention} |
| 17 | storage_local_memory_chunks: ${prometheus:server:storage:local:memory_chunks} |
| 18 | storage_local_max_chunks_to_persist: ${prometheus:server:storage:local:max_chunks_to_persist} |
| 19 | storage_local_num_fingerprint_mutexes: ${prometheus:server:storage:local:num_fingerprint_mutexes} |
| 20 | restart: |
| 21 | condition: any |
| 22 | image: ${_param:docker_image_prometheus} |
| 23 | ports: |
| 24 | - 15010:${prometheus:server:bind:port} |
| 25 | volume: |
| 26 | site: |
| 27 | type: bind |
| 28 | source: /srv/volumes/prometheus-config |
| 29 | destination: /opt/prometheus/config |