Page MenuHomeDevCentral

docker-registry-api.sls
No OneTemporary

docker-registry-api.sls

# -------------------------------------------------------------
# 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

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)

Event Timeline