[Patchew-devel] [PATCH] docker: Fix server's link name to DB instance

Fam Zheng posted 1 patch 4 weeks ago
Failed in applying to current master (apply log)
scripts/playbooks/deploy-servers.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

[Patchew-devel] [PATCH] docker: Fix server's link name to DB instance

Posted by Fam Zheng 4 weeks ago
Signed-off-by: Fam Zheng <famz@redhat.com>
---
 scripts/playbooks/deploy-servers.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/playbooks/deploy-servers.yml b/scripts/playbooks/deploy-servers.yml
index 7c6281e..18acb36 100644
--- a/scripts/playbooks/deploy-servers.yml
+++ b/scripts/playbooks/deploy-servers.yml
@@ -16,7 +16,7 @@
     base_dir: "/data/{{ instance_name }}"
     src_dir: "{{ base_dir }}/src"
     data_dir: "{{ base_dir }}/data"
-    docker_run_args: "--link {{ instance_name }}-db"
+    docker_run_args: "--link {{ instance_name }}-db:patchew-db"
   tasks:
     - name: Create data dir
       file:
-- 
2.17.2

_______________________________________________
Patchew-devel mailing list
Patchew-devel@redhat.com
https://www.redhat.com/mailman/listinfo/patchew-devel