Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve docker-compose #515

Merged
merged 2 commits into from
Mar 17, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,16 @@ services:
redis:
image: redis:alpine
volumes:
- data:/data
- data:/data
ports:
- 6379:6379
restart: always

graphite:
image: graphiteapp/graphite-statsd
ports:
- "7080:80"
restart: always

prometheus:
image: prom/prometheus
Expand All @@ -18,6 +22,7 @@ services:
command: "--config.file=/etc/prometheus/prometheus.yml --storage.tsdb.path=/prometheus"
ports:
- "9080:9090"
restart: always

filter:
build:
Expand All @@ -30,6 +35,7 @@ services:
- relay
ports:
- "8094:8094"
restart: always

checker:
build:
Expand All @@ -44,6 +50,7 @@ services:
- relay
ports:
- "8092:8092"
restart: always

notifier:
build:
Expand All @@ -57,6 +64,7 @@ services:
- relay
ports:
- "8093:8093"
restart: always

api:
build:
Expand All @@ -77,6 +85,7 @@ services:
image: moira/web2
networks:
- balancer
restart: always

balancer:
image: nginx:alpine
Expand All @@ -89,6 +98,7 @@ services:
- balancer
volumes:
- ./local/nginx.conf:/etc/nginx/conf.d/moira.conf
restart: always

relay:
image: bodsch/docker-carbon-c-relay
Expand All @@ -99,6 +109,7 @@ services:
volumes:
- ./local/relay.conf:/home/relay/carbon-c-relay.conf
command: /usr/bin/relay -E -s -f /home/relay/carbon-c-relay.conf
restart: always
networks:
balancer:
volumes:
Expand Down