Skip to content

Commit

Permalink
readd gameserver
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores committed Jul 5, 2024
1 parent 900ee80 commit a7f9eaf
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions compose/sample-apps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,3 +162,38 @@ services:
retries: 3
start_period: 30s
timeout: 5s
gameserver:
depends_on:
cryostat:
condition: service_healthy
image: ${GAMESERVER_TEST_IMAGE:-quay.io/redhat-java-monitoring/gameserver-cryostat-agent:latest}
hostname: gameserver
ports:
- "7091"
- "9494"
- "25565:25565"
environment:
CRYOSTAT_AGENT_APP_NAME: gameserver
CRYOSTAT_AGENT_WEBSERVER_HOST: gameserver
CRYOSTAT_AGENT_WEBSERVER_PORT: 9494
CRYOSTAT_AGENT_CALLBACK: http://gameserver:9494/
CRYOSTAT_AGENT_BASEURI: http://${CRYOSTAT_HTTP_HOST}:8080/
CRYOSTAT_AGENT_BASEURI_RANGE: public
CRYOSTAT_AGENT_SSL_TRUST_ALL: "true"
CRYOSTAT_AGENT_SSL_VERIFY_HOSTNAME: "false"
CRYOSTAT_AGENT_AUTHORIZATION_TYPE: basic
CRYOSTAT_AGENT_AUTHORIZATION_VALUE: user:pass
CRYOSTAT_AGENT_API_WRITES_ENABLED: "true"
CRYOSTAT_AGENT_HARVESTER_TEMPLATE: Profiling
CRYOSTAT_AGENT_HARVESTER_PERIOD_MS: 300000
CRYOSTAT_AGENT_HARVESTER_MAX_FILES: 3
CRYOSTAT_AGENT_HARVESTER_EXIT_MAX_AGE_MS: 60000
CRYOSTAT_AGENT_HARVESTER_EXIT_MAX_SIZE_B: 153600 # "$(echo 1024*150 | bc)"
EULA: "true"
ONLINE_MODE: "false"
OVERRIDE_SERVER_PROPERTIES: "true"
ENABLE_JMX: "true"
JMX_HOST: gameserver
JMX_PORT: "7091"
JVM_OPTS: -javaagent:/opt/cryostat/agent.jar
restart: always

0 comments on commit a7f9eaf

Please sign in to comment.