Home > Back-end >  How to access skywalking docker - compose way
How to access skywalking docker - compose way

Time:10-07

Excuse me the docker - compose way how to access skywalking
To try is added in the docker - compose JAVA_OPTS='- javaagent=XXXXX'

And behind the ENTRYPOINT dockerfile file to add

ENV SW_SERVICE_NAME=SDK - logs - web - 11 \
SW_COLLECTOR_SERVERS=47.89.187.25:11800

ENTRYPOINT Java - javaagent:/home/workspace/skywalking/skywalking - agent. The jar - Dskywalking_config=/home/workspace/skywalking/agent. The config - Dskywalking. Collector. Backend_service=${SW_COLLECTOR_SERVERS} \
- Dskywalking. Agent. The service_name=${SW_SERVICE_NAME} - jar/app. Jar

The first kind of invalid
The second can see service on skywalking, but unable to monitor to specific indicators, ask to change how to solve
  • Related