File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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+
6066bocker_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:
You can’t perform that action at this time.
0 commit comments