fixed workflow

This commit is contained in:
Yannic Kilcher
2023-01-14 22:10:39 +01:00
parent f20594f52f
commit bf66b2a890
+4 -4
View File
@@ -43,7 +43,7 @@
- name: Create postgres containers
community.docker.docker_container:
name: "oasst-postgres-{{ stack_name }}-{{ item.name }}"
name: "oasst-{{ stack_name }}-postgres-{{ item.name }}"
image: postgres:15
state: started
restart_policy: always
@@ -71,7 +71,7 @@
restart_policy: always
network_mode: "oasst-{{ stack_name }}"
env:
POSTGRES_HOST: "oasst-postgres-{{ stack_name }}-backend"
POSTGRES_HOST: "oasst-{{ stack_name }}-postgres-backend"
REDIS_HOST: "oasst-{{ stack_name }}-redis"
DEBUG_ALLOW_ANY_API_KEY: "true"
DEBUG_USE_SEED_DATA: "true"
@@ -95,8 +95,8 @@
env:
ADMIN_USERS: "{{ lookup('ansible.builtin.env', 'WEB_ADMIN_USERS') }}"
DATABASE_URL:
"postgres://postgres:postgres@oasst-postgres-{{ stack_name
}}-web/postgres"
"postgres://postgres:postgres@oasst-{{ stack_name
}}-postgres-web/postgres"
DEBUG_LOGIN: "true"
DISCORD_CLIENT_ID:
"{{ lookup('ansible.builtin.env', 'WEB_DISCORD_CLIENT_ID') }}"