dtserver:
  container_name: "dtserver"
  hostname: "docker-dtserver"
  image: "dynatrace/server:6.2"
  environment:
    NAME: "dtserver"
    HOST_NAME: "docker-dtserver"
    LICENSE_KEY_FILE_URL: "${DT_SERVER_LICENSE_KEY_FILE_URL}"
  volumes:
    - "/tmp/log/dynatrace/servers/dtserver:/dynatrace/log/server/dtserver"
  ports:
    - "2021" # Dynatrace Clients (TCP with SSL)
    - "8021" # Dynatrace Web Server (HTTPS)
    - "9911" # Dynatrace Web UI (HTTPS)

dtwsagent:
  container_name: "dtwsagent"
  hostname: "docker-dtwsagent"
  image: "dynatrace/wsagent:6.2"
  links:
    - dtserver:dtcollector
  environment:
    NAME: "dtwsagent"
    HOST_NAME: "docker-dtwsagent"
  volumes:
    - /dynatrace
    - "/tmp/log/dynatrace/wsagents/dtwsagent:/dynatrace/log"

dtagent:
  container_name: "dtagent"
  hostname: "docker-dtagent"
  image: "dynatrace/agent:6.2"
  volumes:
    - /dynatrace
    - "/tmp/log/dynatrace/agents/dtagent:/dynatrace/log/agent"
dtserver:
  container_name: "dtserver"
  hostname: "docker-dtserver"
  image: "dynatrace/server:6.2"
  environment:
    NAME: "dtserver"
    HOST_NAME: "docker-dtserver"
    LICENSE_KEY_FILE_URL: "${DT_SERVER_LICENSE_KEY_FILE_URL}"
  volumes:
    - "/tmp/log/dynatrace/servers/dtserver:/dynatrace/log/server/dtserver"
  ports:
    - "2021" # Dynatrace Clients (TCP with SSL)
    - "8021" # Dynatrace Web Server (HTTPS)
    - "9911" # Dynatrace Web UI (HTTPS)

dtwsagent:
  container_name: "dtwsagent"
  hostname: "docker-dtwsagent"
  image: "dynatrace/wsagent:6.2"
  links:
    - dtserver:dtcollector
  environment:
    NAME: "dtwsagent"
    HOST_NAME: "docker-dtwsagent"
    COLLECTOR: "docker-dtserver:9998"
  volumes:
    - /dynatrace
    - "/tmp/log/dynatrace/wsagents/dtwsagent:/dynatrace/log"

dtagent:
  container_name: "dtagent"
  hostname: "docker-dtagent"
  image: "dynatrace/agent:6.2"
  volumes:
    - /dynatrace
    - "/tmp/log/dynatrace/agents/dtagent:/dynatrace/log/agent"
Fix location of Dynatrace Collector.
Fix location of Dynatrace Collector.
