Skip to content

Commit

Permalink
Merge pull request #1216 from ntk148v/fix/docker-compose-example
Browse files Browse the repository at this point in the history
fix(docker-compose): minor changes
  • Loading branch information
metalmatze authored Aug 23, 2024
2 parents 196403e + cdda814 commit 649f7c8
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions examples/docker-compose/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ volumes:
services:
prometheus:
image: prom/prometheus:v2.47.0
container_name: prometheus
restart: always
networks:
- pyrra
Expand All @@ -18,12 +19,14 @@ services:
- --config.file=/etc/prometheus/prometheus.yml
- --storage.tsdb.path=/prometheus
- --storage.tsdb.retention.time=33d
- --web.enable-lifecycle
volumes:
- ./prometheus/prometheus.yaml:/etc/prometheus/prometheus.yml:ro
- ./prometheus_pyrra:/etc/prometheus/pyrra
- prometheus_pyrra:/etc/prometheus/pyrra

pyrra-api:
image: ghcr.io/pyrra-dev/pyrra:v0.7.5
container_name: pyrra_api
restart: always
command:
- api
Expand All @@ -37,6 +40,8 @@ services:

pyrra-filesystem:
image: ghcr.io/pyrra-dev/pyrra:v0.7.5
user: root
container_name: pyrra_filesystem
restart: always
command:
- filesystem
Expand All @@ -45,4 +50,4 @@ services:
- pyrra
volumes:
- ./pyrra:/etc/pyrra
- ./prometheus_pyrra:/etc/prometheus/pyrra
- prometheus_pyrra:/etc/prometheus/pyrra

0 comments on commit 649f7c8

Please sign in to comment.