blob: 37bb6d3fd0764fccd129883491441053ca51594b [file] [log] [blame]
Bartosz Kupidura3cbee942017-03-20 13:47:06 +01001include:
2- service.prometheus.server.container
3parameters:
4 docker:
5 client:
6 service:
7 prometheus_server:
8 network: monitoring
Bartosz Kupidura95e2cf52017-03-29 19:15:04 +02009 replicas: 1
Bartosz Kupidura3cbee942017-03-20 13:47:06 +010010 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}
Bartosz Kupidura95e2cf52017-03-29 19:15:04 +020020 discovery_domain: 'prometheus_alertmanager'
Bartosz Kupidura3cbee942017-03-20 13:47:06 +010021 restart:
22 condition: any
23 image: ${_param:docker_image_prometheus}
24 ports:
25 - 15010:${prometheus:server:bind:port}
26 volume:
27 site:
28 type: bind
Bartosz Kupiduraa1868882017-03-29 12:38:05 +020029 source: /srv/volumes/prometheus
Bartosz Kupidura3cbee942017-03-20 13:47:06 +010030 destination: /opt/prometheus/config