Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion compose/production/django/entrypoint
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ END
>&2 echo 'PostgreSQL is available'


exec "$@"
newrelic-admin run-program "$@"
2 changes: 1 addition & 1 deletion compose/production/traefik/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM docker.io/traefik:2.11.28
FROM docker.io/traefik:2.11.29
RUN mkdir -p /etc/traefik/acme \
&& touch /etc/traefik/acme/acme.json \
&& chmod 600 /etc/traefik/acme/acme.json
Expand Down
14 changes: 14 additions & 0 deletions docker-compose.production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,3 +92,17 @@ services:
limits:
cpus: "0.1"
memory: 100M

newrelic-agent:
image: newrelic/infrastructure:1.67.3
env_file:
- ./.envs/.production/.newrelic
cap_add:
- SYS_PTRACE
network_mode: host
pid: host
privileged: true
volumes:
- "/:/host:ro"
- "/var/run/docker.sock:/var/run/docker.sock"
restart: unless-stopped