Merge pull request 'Update environment variables re: data.coop/membersystem#38' (#216) from benjaoming/ansible:membersystem-envs into main
Reviewed-on: #216 Reviewed-by: valberg <valberg@orn.li>
This commit is contained in:
commit
717db9055c
|
@ -55,6 +55,8 @@ rallly_secrets:
|
||||||
|
|
||||||
membersystem_secrets:
|
membersystem_secrets:
|
||||||
secret_key: xxx
|
secret_key: xxx
|
||||||
|
stripe_api_key: xxx
|
||||||
|
stripe_endpoint_secret: xxx
|
||||||
|
|
||||||
diun:
|
diun:
|
||||||
matrix_password: xxx
|
matrix_password: xxx
|
||||||
|
|
|
@ -193,7 +193,7 @@ services:
|
||||||
|
|
||||||
membersystem:
|
membersystem:
|
||||||
domain: "member.{{ base_domain }}"
|
domain: "member.{{ base_domain }}"
|
||||||
django_admins: "Vidir:valberg@orn.li"
|
django_admins: "Vidir:valberg@orn.li,Balder:benjaoming@data.coop"
|
||||||
volume_folder: "{{ volume_root_folder }}/membersystem"
|
volume_folder: "{{ volume_root_folder }}/membersystem"
|
||||||
version: latest
|
version: latest
|
||||||
postgres_version: 13-alpine
|
postgres_version: 13-alpine
|
||||||
|
|
|
@ -26,6 +26,8 @@ services:
|
||||||
CSRF_TRUSTED_ORIGINS: https://{{ services.membersystem.domain }}
|
CSRF_TRUSTED_ORIGINS: https://{{ services.membersystem.domain }}
|
||||||
DJANGO_ADMINS: "{{ services.membersystem.django_admins }}"
|
DJANGO_ADMINS: "{{ services.membersystem.django_admins }}"
|
||||||
DEFAULT_FROM_EMAIL: noreply@{{ services.membersystem.domain }}
|
DEFAULT_FROM_EMAIL: noreply@{{ services.membersystem.domain }}
|
||||||
|
STRIPE_API_KEY: "{{ membersystem_secrets.stripe_api_key }}"
|
||||||
|
STRIPE_ENDPOINT_SECRET: "{{ membersystem_secrets.stripe_endpoint_secret }}"
|
||||||
depends_on:
|
depends_on:
|
||||||
- postgres
|
- postgres
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue