Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F4060982
api-datasources.sls
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
937 B
Referenced Files
None
Subscribers
None
api-datasources.sls
View Options
# -------------------------------------------------------------
# Salt — Provision Docker engine
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# Created: 2020-06-02
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
{%
set
containers
=
pillar
[
'docker_containers'
][
grains
[
'id'
]]
%}
{%
for
instance
,
container
in
containers
[
'api-datasources'
]
.items
()
%}
# -------------------------------------------------------------
# Container
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
{{
instance
}}
:
docker_container.running
:
-
detach
:
True
-
interactive
:
True
-
image
:
nasqueron/api-datasources
-
env
:
-
API_ENTRY_POINT
:
{{
container
[
'api_entry_point'
]
}}
-
ports
:
-
80
-
port_bindings
:
-
{{
container
[
'app_port'
]
}}
:80
{%
endfor
%}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Jan 28, 09:25 (14 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2380256
Default Alt Text
api-datasources.sls (937 B)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment