-
Notifications
You must be signed in to change notification settings - Fork 70
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
39 lines (36 loc) · 887 Bytes
/
docker-compose.yml
File metadata and controls
39 lines (36 loc) · 887 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
version: "3.4"
services:
agent:
image: datadog/agent:latest
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- /proc/:/host/proc/:ro
- /sys/fs/cgroup/:/host/sys/fs/cgroup:ro
environment:
- DD_API_KEY=${DD_API_KEY}
- DD_APM_ENABLED=true
# - DD_LOG_LEVEL=debug
ports:
- 8126:8126
django2-apache2:
build:
context: django_demo_app
dockerfile: Dockerfile_wsgi
ports:
- '8020:80'
environment:
DD_TRACE_AGENT_HOSTNAME: agent
SOME_RANDOM_VALUE: hey_you
volumes:
- $PWD/django_demo_app:/var/www/html/app
django14-apache2:
build:
context: django_14_app
dockerfile: Dockerfile_wsgi
ports:
- '8014:80'
environment:
DD_TRACE_AGENT_HOSTNAME: agent
SOME_RANDOM_VALUE: hey_you
volumes:
- $PWD/django_14_app:/var/www/html/app