Skip to content

Commit 5ddbf62

Browse files
authored
update sentry matrix-webhook (#743)
1 parent 07caa97 commit 5ddbf62

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

sentry/matrix-webhook.sls

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,12 @@ matrix-sentry-webhooks_clone_fom_git:
5757
- name: {{ pillar["sentry"]["webhooks"]["matrix"]["repo"] }}
5858
- target: /opt/matrix-sentry-webhooks
5959
60+
matrix-sentry-webhooks_logdir:
61+
file.directory:
62+
- name: /opt/matrix-sentry-webhooks/logs
63+
- mode: 755
64+
- makedirs: True
65+
6066
bocker_build_matrix-sentry-webhooks:
6167
docker_image.present:
6268
- name: {{ pillar["sentry"]["webhooks"]["matrix"]["image"] }}
@@ -72,6 +78,8 @@ matrix-sentry-webhooks_container:
7278
- image: {{ pillar["sentry"]["webhooks"]["matrix"]["image"] }}
7379
- detach: True
7480
- restart_policy: unless-stopped
81+
- binds:
82+
- /opt/matrix-sentry-webhooks/logs:/app/logs:rw
7583
- publish:
7684
- "127.0.0.1:{{ pillar["sentry"]["webhooks"]["matrix"]["env_vars"]["APP_PORT"] }}:{{ pillar["sentry"]["webhooks"]["matrix"]["env_vars"]["APP_PORT"] }}/tcp"
7785
- environment:

0 commit comments

Comments
 (0)