blob: 94207ca379e93ea8cc86011be394e2c1e96d6a58 [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
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
Bartosz Kupiduraa1868882017-03-29 12:38:05 +020028 source: /srv/volumes/prometheus
Bartosz Kupidura3cbee942017-03-20 13:47:06 +010029 destination: /opt/prometheus/config