From 8c7e6bda25bb8e13c25c569b5322781bb2d57229 Mon Sep 17 00:00:00 2001 From: Yannic Kilcher Date: Thu, 27 Apr 2023 07:58:05 +0200 Subject: [PATCH] Adjusted inference playbook network to be in line with backend (#2934) --- ansible/inference/deploy-server.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ansible/inference/deploy-server.yaml b/ansible/inference/deploy-server.yaml index 42d2880408..2023cc1c9d 100644 --- a/ansible/inference/deploy-server.yaml +++ b/ansible/inference/deploy-server.yaml @@ -10,7 +10,7 @@ tasks: - name: Create network community.docker.docker_network: - name: "oasst-inference-{{ stack_name }}" + name: "oasst-{{ stack_name }}" state: present driver: bridge @@ -33,7 +33,7 @@ state: started recreate: "{{ (stack_name == 'dev') | bool }}" restart_policy: always - network_mode: "oasst-inference-{{ stack_name }}" + network_mode: "oasst-{{ stack_name }}" healthcheck: test: ["CMD-SHELL", "redis-cli ping | grep PONG"] interval: 2s @@ -57,7 +57,7 @@ pull: true recreate: "{{ (stack_name == 'dev') | bool }}" restart_policy: always - network_mode: "oasst-inference-{{ stack_name }}" + network_mode: "oasst-{{ stack_name }}" env: POSTGRES_USER: postgres POSTGRES_PASSWORD: @@ -91,7 +91,7 @@ recreate: true pull: true restart_policy: always - network_mode: "oasst-inference-{{ stack_name }}" + network_mode: "oasst-{{ stack_name }}" env: POSTGRES_HOST: "oasst-inference-{{ stack_name }}-postgres" POSTGRES_PASSWORD: