forked from readmeio/metrics-sdks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
130 lines (117 loc) · 2.81 KB
/
docker-compose.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
version: '3.4'
x-server-config: &server-config
README_API_KEY: rdme_abcdefghijklmnopqrstuvwxyz
README_METRICS_SERVER: "http://host.docker.internal:8001"
x-extra_hosts: &default-extra_hosts
# Docker in Github doesn't automaticaly map these and without `host.docker.internal`
# working our SDK HTTP servers can't talk to our mock Metrics server.
- "host.docker.internal:host-gateway"
services:
runner:
container_name: runner
image: node:16
#
# .NET
#
integration_dotnet_metrics_v6.0:
build:
context: .
dockerfile: ./test/integrations/dotnet/v6.0.Dockerfile
ports:
- 8000:8000
extra_hosts: *default-extra_hosts
environment:
<<: *server-config
integration_dotnet_webhooks_v6.0:
build:
context: .
dockerfile: ./test/integrations/dotnet/v6.0-webhooks.Dockerfile
ports:
- 8000:8000
extra_hosts: *default-extra_hosts
environment:
<<: *server-config
#
# Node
#
integration_node_express:
build:
context: .
dockerfile: ./test/integrations/node/express.Dockerfile
ports:
- 8000:8000
extra_hosts: *default-extra_hosts
environment:
<<: *server-config
integration_node_fastify:
build:
context: .
dockerfile: ./test/integrations/node/fastify.Dockerfile
ports:
- 8000:8000
extra_hosts: *default-extra_hosts
environment:
<<: *server-config
integration_node_hapi:
build:
context: .
dockerfile: ./test/integrations/node/hapi.Dockerfile
ports:
- 8000:8000
extra_hosts: *default-extra_hosts
environment:
<<: *server-config
#
# PHP
#
integration_php_laravel:
build:
context: .
dockerfile: ./test/integrations/php/laravel.Dockerfile
ports:
- 8000:8000
extra_hosts: *default-extra_hosts
environment:
<<: *server-config
#
# Python
#
integration_metrics_python_django:
build:
context: .
dockerfile: ./test/integrations/python/django.Dockerfile
ports:
- 8000:8000
extra_hosts: *default-extra_hosts
environment:
<<: *server-config
integration_python_flask_metrics:
build:
context: .
dockerfile: ./test/integrations/python/flask.Dockerfile
ports:
- 8000:8000
extra_hosts: *default-extra_hosts
environment:
<<: *server-config
integration_python_flask_webhooks:
build:
context: .
dockerfile: ./test/integrations/python/flask-webhooks.Dockerfile
ports:
- 8000:8000
extra_hosts: *default-extra_hosts
environment:
<<: *server-config
#
# Ruby
#
integration_ruby_rails:
build:
context: .
dockerfile: ./test/integrations/ruby/rails.Dockerfile
ports:
- 8000:8000
extra_hosts: *default-extra_hosts
environment:
<<: *server-config