Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3770272
bugzilla.sls
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
bugzilla.sls
View Options
# -------------------------------------------------------------
# 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
Details
Attached
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)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment