-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-fromfile.yml
53 lines (53 loc) · 1.53 KB
/
docker-compose-fromfile.yml
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
version: '3'
services:
ddagent:
image: datadog/agent:latest
container_name: datadog-agent-ps
env_file:
- ~/sandbox.docker.env
environment:
- DD_APM_ENABLED=true
- DD_LOGS_ENABLED=true
- DD_LOGS_CONFIG_CONTAINER_COLLECT_ALL=true
- DD_APM_NON_LOCAL_TRAFFIC=true
# - DD_AC_EXCLUDE=name:datadog-agent-ft
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- /proc/:/host/proc/:ro
- /sys/fs/cgroup/:/host/sys/fs/cgroup:ro
ports:
- "8126:8126"
restart: on-failure
mongodb:
image: cahillsf/ps-mongo:test
# image: mongo
# environment:
# MONGO_INITDB_ROOT_USERNAME: root
# MONGO_INITDB_ROOT_PASSWORD: example
# volumes:
# - ./mongo-db/mongo-db-init-files:/docker-entrypoint-initdb.d
# labels:
# com.datadoghq.ad.check_names: '["mysql"]'
# com.datadoghq.ad.init_configs: '[{}]'
# com.datadoghq.ad.instances: '[{"server": "%%host%%", "user": "datadog","pass": "tacosandburritos"}]'
ports:
- '27017:27017'
flask_server:
# image: cahillsf/ps-flask:test
build:
dockerfile: Dockerfile
context: ./flask-server
env_file:
- ~/sandbox.docker.env
ports:
- '8000:8000'
vue_web:
# image: cahillsf/ps-vue:test
build:
# dockerfile: Dockerfile
dockerfile: Dockerfiledev
context: ./funvue
env_file:
- ~/sandbox.docker.env
ports:
- '8080:8080'