Page MenuHomeDevCentral

bugzilla.sls
No OneTemporary

bugzilla.sls

# -------------------------------------------------------------
# Salt — Provision Docker engine
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# Created: 2018-10-07
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
{% set containers = pillar['docker_containers'][grains['id']] %}
{% for instance, container in containers['bugzilla'].items() %}
# -------------------------------------------------------------
# Container
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
{{ instance }}:
docker_container.running:
- detach: True
- interactive: True
- image: nasqueron/bugzilla
- networks:
- {{ container['network']}}
- environment:
DB_HOST: {{ container['mysql']['host']}}
DB_DATABASE: {{ container['mysql']['db']}}
DB_USER: {{ salt['zr.get_username'](container['credential']) }}
DB_PASSWORD: {{ salt['zr.get_password'](container['credential']) }}
BUGZILLA_URL: https://{{ container['host'] }}/
- ports:
- 80
- port_bindings:
- {{ container['app_port'] }}:80
{% endfor %}

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 25, 19:38 (4 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2260848
Default Alt Text
bugzilla.sls (1 KB)

Event Timeline