Skip to content

Commit

Permalink
fixed workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
yk committed Jan 14, 2023
1 parent f20594f commit bf66b2a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ansible/deploy-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"
Expand All @@ -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') }}"
Expand Down

0 comments on commit bf66b2a

Please sign in to comment.