Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3785324
D2861.id7292.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
757 B
Referenced Files
None
Subscribers
None
D2861.id7292.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 27, 08:36 (11 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2266536
Default Alt Text
D2861.id7292.diff (757 B)
Attached To
Mode
D2861: Configure network and health check for Redis
Attached
Detach File
Event Timeline
Log In to Comment