Permalink
Browse files

Changed setup to allow copying of config files into volumes, making r…

…emote deployment possible.
  • Loading branch information...
finestructure committed Jun 2, 2016
1 parent cd09f52 commit 7e327e8fc358826f59f63f158fe48e621b4f9792
@@ -0,0 +1,2 @@
FROM prom/alertmanager:0.1.1
COPY ./alertmanager.yml /alertmanager.yml
File renamed without changes.
@@ -2,11 +2,9 @@
version: '2'
services:
prometheus:
image: prom/prometheus:0.18.0
build: ./prometheus
volumes:
- prometheus_data:/prometheus
- ./prometheus.yml:/etc/prometheus/prometheus.yml
- ./alert.rules:/etc/prometheus/alert.rules
command:
- '-config.file=/etc/prometheus/prometheus.yml'
- '-alertmanager.url=http://alertmanager:9093'
@@ -27,9 +25,7 @@ services:
ports:
- "3000:3000"
alertmanager:
image: prom/alertmanager:0.1.1
volumes:
- ./alertmanager.yml:/alertmanager.yml
build: ./alertmanager
command:
- '-config.file=/alertmanager.yml'
volumes:
@@ -0,0 +1,3 @@
FROM prom/prometheus:0.18.0
COPY ./alert.rules /etc/prometheus/alert.rules
COPY ./prometheus.yml /etc/prometheus/prometheus.yml
File renamed without changes.
File renamed without changes.

0 comments on commit 7e327e8

Please sign in to comment.