Page MenuHomeDevCentral

D2009.diff
No OneTemporary

D2009.diff

diff --git a/roles/paas-docker/containers/sentry.sls b/roles/paas-docker/containers/sentry.sls
--- a/roles/paas-docker/containers/sentry.sls
+++ b/roles/paas-docker/containers/sentry.sls
@@ -74,3 +74,25 @@
- {{ container['app_port'] }}:9000
{% endfor %}
+
+# -------------------------------------------------------------
+# Services containers
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+{% for service in ['worker', 'cron'] %}
+{% for instance, container in containers['sentry_' + service].items() %}
+
+{% set args = pillar['sentry_realms'][container['realm']] %}
+
+{{ instance }}:
+ docker_container.running:
+ - detach: True
+ - interactive: True
+ - image: library/sentry
+ - binds: *binds
+ - links: *links
+ - environment: *env
+ - command: run {{ service }}
+
+{% endfor %}
+{% endfor %}

File Metadata

Mime Type
text/plain
Expires
Wed, Nov 27, 12:30 (21 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2266893
Default Alt Text
D2009.diff (860 B)

Event Timeline