Skip to content

Commit

Permalink
prometheus-grafana - switch restart to string (docker#56)
Browse files Browse the repository at this point in the history
Signed-off-by: Benoît Stahl <[email protected]>
  • Loading branch information
benasse authored Apr 14, 2020
1 parent bb1a5a1 commit 3599a2e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions prometheus-grafana/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ services:
- '--config.file=/etc/prometheus/prometheus.yml'
ports:
- 9090:9090
restart:
- unless-stopped
restart: unless-stopped
volumes:
- ./prometheus:/etc/prometheus
- prom_data:/prometheus
Expand All @@ -17,8 +16,7 @@ services:
container_name: grafana
ports:
- 3000:3000
restart:
- unless-stopped
restart: unless-stopped
environment:
- GF_SECURITY_ADMIN_USER=admin
- GF_SECURITY_ADMIN_PASSWORD=grafana
Expand Down

0 comments on commit 3599a2e

Please sign in to comment.