-
-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(devservices): Add devservices config (#1558)
* add symbolicator config
- Loading branch information
1 parent
aac9367
commit 4b9ab28
Showing
2 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |