Skip to content

Instantly share code, notes, and snippets.

@jaycdave88
Last active January 31, 2019 18:40
Show Gist options
  • Save jaycdave88/739a564ad606fd2325ecb4596b226ef9 to your computer and use it in GitHub Desktop.
Save jaycdave88/739a564ad606fd2325ecb4596b226ef9 to your computer and use it in GitHub Desktop.
version: '3'
services:
mongo:
build: ./mongo
agent:
build: ./agent
environment:
- DD_API_KEY
- DD_APM_ENABLED=true
- DD_BIND_HOST=0.0.0.0
external_agent:
build: ./external_agent
environment:
- DD_API_KEY
- DD_APM_ENABLED=true
- DD_BIND_HOST=0.0.0.0
exthost:
build: .
ports:
- "127.0.0.1:8001:8080"
environment:
- DD_AGENT_HOST=external_agent
- DD_SERVICE_NAME=bean-server
depends_on:
- external_agent
- mongo
extra_hosts:
- "exthost:127.0.0.1"
web:
build: .
ports:
- "127.0.0.1:8000:8080"
- "127.0.0.1:8013:9013"
environment:
- DD_AGENT_HOST=agent
- DD_SERVICE_NAME=coffee-house
- DD_NODEJS_AVAILABLE
depends_on:
- agent
- exthost
- mongo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment