Skip to content

Commit bf66b2a

Browse files
committed
fixed workflow
1 parent f20594f commit bf66b2a

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

ansible/deploy-dev.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343

4444
- name: Create postgres containers
4545
community.docker.docker_container:
46-
name: "oasst-postgres-{{ stack_name }}-{{ item.name }}"
46+
name: "oasst-{{ stack_name }}-postgres-{{ item.name }}"
4747
image: postgres:15
4848
state: started
4949
restart_policy: always
@@ -71,7 +71,7 @@
7171
restart_policy: always
7272
network_mode: "oasst-{{ stack_name }}"
7373
env:
74-
POSTGRES_HOST: "oasst-postgres-{{ stack_name }}-backend"
74+
POSTGRES_HOST: "oasst-{{ stack_name }}-postgres-backend"
7575
REDIS_HOST: "oasst-{{ stack_name }}-redis"
7676
DEBUG_ALLOW_ANY_API_KEY: "true"
7777
DEBUG_USE_SEED_DATA: "true"
@@ -95,8 +95,8 @@
9595
env:
9696
ADMIN_USERS: "{{ lookup('ansible.builtin.env', 'WEB_ADMIN_USERS') }}"
9797
DATABASE_URL:
98-
"postgres://postgres:postgres@oasst-postgres-{{ stack_name
99-
}}-web/postgres"
98+
"postgres://postgres:postgres@oasst-{{ stack_name
99+
}}-postgres-web/postgres"
100100
DEBUG_LOGIN: "true"
101101
DISCORD_CLIENT_ID:
102102
"{{ lookup('ansible.builtin.env', 'WEB_DISCORD_CLIENT_ID') }}"

0 commit comments

Comments
 (0)