Skip to content

Commit

Permalink
feat(devservices): Add devservices config (#1558)
Browse files Browse the repository at this point in the history
* add symbolicator config
  • Loading branch information
hubertdeng123 authored Dec 4, 2024
1 parent aac9367 commit 4b9ab28
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 0 deletions.
34 changes: 34 additions & 0 deletions devservices/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
x-sentry-service-config:
version: 0.1
service_name: symbolicator
dependencies:
symbolicator:
description: A symbolication service for native stacktraces and minidumps with symbol server support
modes:
default: [symbolicator]

services:
symbolicator:
image: us-central1-docker.pkg.dev/sentryio/symbolicator/image:nightly
volumes:
- symbolicator-data:/data
- type: bind
read_only: true
source: ./symbolicator
target: /etc/symbolicator
command: ["run", "--config", "/etc/symbolicator/config.yml"]
ports:
- 127.0.0.1:3021:3021
networks:
- devservices
extra_hosts:
- host.docker.internal:host-gateway # Allow host.docker.internal to resolve to the host machine
restart: unless-stopped

volumes:
symbolicator-data:

networks:
devservices:
name: devservices
external: true
11 changes: 11 additions & 0 deletions devservices/symbolicator/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
bind: "0.0.0.0:3021"
logging:
level: "debug"
format: "pretty"
enable_backtraces: true

# explicitly disable caches as it's not something we want in tests. in
# development it may be less ideal. perhaps we should do the same thing as we
# do with relay one day (one container per test/session), although that will be
# slow
cache_dir: null

0 comments on commit 4b9ab28

Please sign in to comment.