Created
December 8, 2017 18:39
-
-
Save josejulio/99a31dbc0bb1a6d9151f87152b5185c3 to your computer and use it in GitHub Desktop.
Hawkular services composer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
wildfly-domain: | |
image: hawkular/wildfly-hawkular-javaagent:hawkular-1275 | |
hostname: wf-domain | |
environment: | |
- HAWKULAR_MODE=domain | |
wildfly-standalone: | |
image: hawkular/wildfly-hawkular-javaagent:hawkular-1275 | |
hostname: wf-standalone | |
hawkular: | |
image: hawkular/hawkular-services:hawkular-1275 | |
hostname: mw-manager | |
ports: | |
- 8080:8080 | |
environment: | |
- CASSANDRA_NODES=cassandra | |
- ADMIN_TOKEN | |
volumes: | |
- "hawkular_data:/var/hawkular" | |
prometheus: | |
image: prom/prometheus:v2.0.0 | |
ports: | |
- 9090:9090 | |
environment: | |
- CASSANDRA_START_RPC=true | |
- MAX_HEAP_SIZE=128M | |
- HEAP_NEWSIZE=24M | |
command: --config.file=/prometheus.yml | |
volumes: | |
- "hawkular_data:/var/hawkular" | |
- "./prometheus.yml:/prometheus.yml" | |
volumes: | |
hawkular_data: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment