Page MenuHomeDevCentral

D2861.id7291.diff
No OneTemporary

D2861.id7291.diff

diff --git a/pillar/paas/docker.sls b/pillar/paas/docker.sls
--- a/pillar/paas/docker.sls
+++ b/pillar/paas/docker.sls
@@ -217,7 +217,8 @@
network: sentry
redis:
- sentry_redis: {}
+ sentry_redis:
+ network: sentry
pixelfed_redis: {}
registry:
diff --git a/roles/paas-docker/containers/redis.sls b/roles/paas-docker/containers/redis.sls
--- a/roles/paas-docker/containers/redis.sls
+++ b/roles/paas-docker/containers/redis.sls
@@ -43,6 +43,9 @@
- interactive: True
- image: {{ image }}
- binds: /srv/redis/{{ instance }}:/data
+ - healthcheck:
+ Test: redis-cli ping
+ Interval: 30000000000
{% if 'network' in container %}
- networks:
- {{ container['network'] }}

File Metadata

Mime Type
text/plain
Expires
Wed, Nov 27, 08:36 (12 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2266536
Default Alt Text
D2861.id7291.diff (757 B)

Event Timeline