netmaker/compose/docker-compose.pro.yml
Gabriel de Souza Seibel 1a1ba1ccf4
[NET-546] Move ee code to ee package, unify ee status and terminology (#2538)
* Move ee code to ee package and unify ee status to IsPro

* Consolidate naming for paid/professional/enterprise version as "pro". Notes:

- Changes image tags
- Changes build tags
- Changes package names
- Doesn't change links to docs that mention "ee"
- Doesn't change parameters sent to PostHog that mention "ee"

* Revert docker image tag being -pro, back to -ee

* Revert go build tag being pro, back to ee

* Add build tags for some ee content

* [2] Revert go build tag being pro, back to ee

* Fix test workflow

* Add a json tag to be backwards compatible with frontend "IsEE" check

* Add a json tag for the serverconfig struct for IsEE

* Ammend json tag to Is_EE

* fix ee tags

---------

Co-authored-by: Abhishek Kondur <abhi281342@gmail.com>
2023-09-01 07:42:05 +05:30

53 lines
1.3 KiB
YAML

version: "3.4"
services:
prometheus:
container_name: prometheus
image: gravitl/netmaker-prometheus:latest
env_file: ./netmaker.env
environment:
# config-dependant vars
- NETMAKER_METRICS_TARGET=netmaker-exporter.${NM_DOMAIN}
restart: always
volumes:
- prometheus_data:/prometheus
depends_on:
- netmaker
grafana:
container_name: grafana
image: gravitl/netmaker-grafana:latest
env_file: ./netmaker.env
environment:
# config-dependant vars
# TODO unify with netmaker-exporter
- PROMETHEUS_HOST=prometheus.${NM_DOMAIN}
- NETMAKER_METRICS_TARGET=netmaker-exporter.${NM_DOMAIN}
volumes:
- grafana_data:/var/lib/grafana
restart: always
links:
- prometheus
depends_on:
- prometheus
- netmaker
netmaker-exporter:
container_name: netmaker-exporter
image: gravitl/netmaker-exporter:latest
env_file: ./netmaker.env
environment:
# config-dependant vars
# TODO unify with grafana
- PROMETHEUS_HOST=https://prometheus.${NM_DOMAIN}
# The domain/host IP indicating the mq broker address
- BROKER_ENDPOINT=wss://broker.${NM_DOMAIN}
- API_PORT=${EXPORTER_API_PORT}
restart: always
depends_on:
- netmaker
volumes:
prometheus_data: { }
grafana_data: { }