Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F9503104
docker-registry-api.sls
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
972 B
Referenced Files
None
Subscribers
None
docker-registry-api.sls
View Options
# -------------------------------------------------------------
# Salt — Provision Docker engine
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# Created: 2018-09-18
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
{%
set
has_selinux
=
salt
[
'grains.get'
](
'selinux:enabled'
,
False
)
%}
{%
for
instance
,
container
in
pillar
[
'docker_containers'
][
'docker-registry-api'
]
.items
()
%}
# -------------------------------------------------------------
# Container
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
{{
instance
}}
:
docker_container.running
:
-
detach
:
True
-
interactive
:
True
-
image
:
nasqueron/docker-registry-api
-
binds
:
/srv/
{{
container
[
'registry_instance'
]
}}
:/var/lib/registry
-
ports
:
-
8000
-
port_bindings
:
-
{{
container
[
'app_port'
]
}}
:8000
{%
endfor
%}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jun 8, 00:20 (1 d, 3 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2569072
Default Alt Text
docker-registry-api.sls (972 B)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment