From 0f6210b7580974cb75a85e28c81654de049bc438 Mon Sep 17 00:00:00 2001 From: Mohammed Naser Date: Thu, 11 Apr 2019 17:18:45 -0400 Subject: [PATCH] add option to change listen addr --- defaults/main.yaml | 1 + templates/config.yml.j2 | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/defaults/main.yaml b/defaults/main.yaml index dad6b8f..0d7e242 100644 --- a/defaults/main.yaml +++ b/defaults/main.yaml @@ -1,2 +1,3 @@ --- +docker_distribution_http_addr: ':5000' docker_distribution_proxy: {} \ No newline at end of file diff --git a/templates/config.yml.j2 b/templates/config.yml.j2 index ae36211..41b4d62 100644 --- a/templates/config.yml.j2 +++ b/templates/config.yml.j2 @@ -12,4 +12,4 @@ storage: proxy: {{ docker_distribution_proxy | to_nice_yaml }} {% endif %} http: - addr: :5000 \ No newline at end of file + addr: {{ docker_distribution_http_addr }} \ No newline at end of file