Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F56259698
docker-registry-api.sls
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
941 B
Referenced Files
None
Subscribers
None
docker-registry-api.sls
View Options
# -------------------------------------------------------------
# Salt — Provision Docker engine
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# 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
Fri, Nov 6, 08:17 (1 w, 6 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3991957
Default Alt Text
docker-registry-api.sls (941 B)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment