38 lines
1.2 KiB
YAML
38 lines
1.2 KiB
YAML
# Copy to ansible/vars/accounts.host.yml (gitignored), or store the real values
|
|
# in an external Ansible Vault file and pass it with:
|
|
# ansible-playbook -D -C ansible/playbooks/deploy_accounts_compose.yml -e @/secure/path/accounts.vault.yml
|
|
|
|
service_compose_image: ghcr.io/YOUR_GITHUB_ORG/accounts:latest
|
|
service_compose_registry_server: ghcr.io
|
|
service_compose_registry_username: CHANGE_ME
|
|
service_compose_registry_password: CHANGE_ME
|
|
service_compose_env_common:
|
|
CONFIG_TEMPLATE: /app/config/account.cloudrun.yaml
|
|
INTERNAL_SERVICE_TOKEN: CHANGE_ME
|
|
DB_TLS_HOST: postgresql-aws.svc.plus
|
|
DB_TLS_PORT: "5443"
|
|
POSTGRES_USER: postgres
|
|
POSTGRES_PASSWORD: CHANGE_ME
|
|
DB_USER: postgres
|
|
DB_NAME: account
|
|
DB_PASSWORD: CHANGE_ME
|
|
SMTP_HOST: smtp.qq.com
|
|
SMTP_PORT: "587"
|
|
SMTP_FROM: XControl Account <noreply@svc.plus>
|
|
SMTP_USERNAME: CHANGE_ME
|
|
SMTP_PASSWORD: CHANGE_ME
|
|
service_compose_deploy_targets:
|
|
- name: prod
|
|
deploy_subdomain_prefix: accounts
|
|
stable_domains:
|
|
- accounts.svc.plus
|
|
host_port: 18080
|
|
env: {}
|
|
- name: preview
|
|
deploy_subdomain_prefix: accounts-preview
|
|
stable_domains:
|
|
- accounts-preview.svc.plus
|
|
host_port: 18081
|
|
image: ghcr.io/YOUR_GITHUB_ORG/accounts-preview:latest
|
|
env: {}
|