diff --git a/docker/docker-compose-dev.yml b/docker/docker-compose-dev.yml index 6cb893e..7b9a0da 100644 --- a/docker/docker-compose-dev.yml +++ b/docker/docker-compose-dev.yml @@ -48,37 +48,37 @@ services: aliases: - syg-keycloak - # prometheus: - # container_name: prometheus - # image: prom/prometheus - # ports: - # - 9090:9090 - # volumes: - # - ./syg-backend/SYG-bootstrap/src/prometheus:/etc/prometheus - # command: ["sh", "-c", "envsubst < /etc/prometheus/prometheus.yml.template > /etc/prometheus/prometheus.yml && prometheus --config.file=/etc/prometheus/prometheus.yml"] - # restart: always - # networks: - # syg: - # aliases: - # - syg-prometheus + prometheus: + container_name: prometheus + image: prom/prometheus + ports: + - 9090:9090 + volumes: + - ./syg-backend/SYG-bootstrap/src/prometheus:/etc/prometheus + command: ["sh", "-c", "envsubst < /etc/prometheus/prometheus.yml.template > /etc/prometheus/prometheus.yml && prometheus --config.file=/etc/prometheus/prometheus.yml"] + restart: always + networks: + syg: + aliases: + - syg-prometheus - # grafana: - # container_name: grafana - # image: grafana/grafana - # volumes: - # - ./syg-backend/SYG-bootstrap/src/grafana/provisioning:/etc/grafana/provisioning - # environment: - # - GF_SERVER_HTTP_PORT=9091 - # - GF_AUTH_DISABLE_LOGIN_FORM=true - # - GF_AUTH_ANONYMOUS_ENABLED=true - # - GF_AUTH_ANONYMOUS_ORG_ROLE=Admin - # ports: - # - 9091:9091 - # restart: always - # networks: - # syg: - # aliases: - # - syg-grafana + grafana: + container_name: grafana + image: grafana/grafana + volumes: + - ./syg-backend/SYG-bootstrap/src/grafana/provisioning:/etc/grafana/provisioning + environment: + - GF_SERVER_HTTP_PORT=9091 + - GF_AUTH_DISABLE_LOGIN_FORM=true + - GF_AUTH_ANONYMOUS_ENABLED=true + - GF_AUTH_ANONYMOUS_ORG_ROLE=Admin + ports: + - 9091:9091 + restart: always + networks: + syg: + aliases: + - syg-grafana syg-frontend: build: