Skip to content

Commit

Permalink
Adjusted inference playbook network to be in line with backend (#2934)
Browse files Browse the repository at this point in the history
  • Loading branch information
yk authored Apr 27, 2023
1 parent 054bdc9 commit 8c7e6bd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ansible/inference/deploy-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand All @@ -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:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 8c7e6bd

Please sign in to comment.