-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.override.yml.example
More file actions
34 lines (34 loc) · 1.18 KB
/
compose.override.yml.example
File metadata and controls
34 lines (34 loc) · 1.18 KB
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
# This is a simple example override file that mounts the current directory as an overlay.
services:
nginx:
volumes:
- .:/usr/src/app
webapp:
environment:
DJANGO_SETTINGS_MODULE: moo.settings.local
OTEL_PYTHON_DJANGO_INSTRUMENT: 'True'
OTEL_TRACES_EXPORTER: otlp
OTEL_EXPORTER_OTLP_ENDPOINT: "http://53971991.otel.gitlab-o11y.com:4318"
OTEL_EXPORTER_OTLP_PROTOCOL: "http/protobuf"
OTEL_SERVICE_NAME: "django-moo-webapp"
volumes:
- .:/usr/src/app
shell:
environment:
DJANGO_SETTINGS_MODULE: moo.settings.local
OTEL_PYTHON_DJANGO_INSTRUMENT: 'True'
OTEL_EXPORTER_OTLP_ENDPOINT: "http://53971991.otel.gitlab-o11y.com:4318"
OTEL_EXPORTER_OTLP_PROTOCOL: "http/protobuf"
OTEL_SERVICE_NAME: "django-moo-shell"
volumes:
- .:/usr/src/app
celery:
environment:
DJANGO_SETTINGS_MODULE: moo.settings.local
CELERY_TASK_TIME_LIMIT: "300"
OTEL_PYTHON_DJANGO_INSTRUMENT: 'True'
OTEL_EXPORTER_OTLP_ENDPOINT: "http://53971991.otel.gitlab-o11y.com:4318"
OTEL_EXPORTER_OTLP_PROTOCOL: "http/protobuf"
OTEL_SERVICE_NAME: "django-moo-celery"
volumes:
- .:/usr/src/app