eletrotupi / tcc/ ansible/inventory/group_vars/all/main.yml98f51d926694a10e1a4625987f1b32e03ec683da
1.3 KB | 57 lines Raw
1
# Shared, non-secret configuration for every host
2
#
3
# Secrets live in the encrypted sibling file, vault.yml. It is produced by
4
# scripts/import-vault.sh and holds these variables:
5
#
6
#   vault_postgres_password
7
#   vault_jwt_secret
8
#   vault_resend_api_key
9
#   vault_s3_access_key
10
#   vault_s3_access_secret
11
#   vault_nginx_logs_htpasswd
12

13
# The deploy user to create
14
deploy_user: deploy
15

16
# The SSH public key that will be authorised for the deploy user
17
deploy_ssh_pubkey_file: ~/.ssh/nexo_deploy_key.pub
18

19
# App directories to create under /srv/app
20
app_environments:
21
  - production
22
  - staging
23

24
# Image pushed by the deploy workflow
25
app_github_repo: pedrolucasp/nexo
26
image_tag: latest
27

28
# API runtime
29
app_port: 3000
30
app_log_level: info
31
app_frontend_url: https://usenexo.xyz
32

33
# Postgres (the password is in the vault)
34
postgres_user: nexo
35
postgres_db: nexo_production
36

37
# Valkey
38
valkey_host: valkey
39
valkey_port: 6379
40

41
# Email (Resend); the API key is in the vault
42
# XXX: the display name still says "orbit"
43
resend_from: "orbit <naoresponda@updates.cabotia.dev>"
44

45
# Object storage (S3-compatible); the keys are in the vault
46
s3_region: br
47
s3_url: br-gru-1.linodeobjects.com
48
s3_bucket: nexo-stg
49

50
# Logging stack
51
victorialogs_tag: v1.53.0
52
victorialogs_port: 9428
53
victorialogs_retention: 14d
54
victorialogs_max_disk: 2GiB
55
vector_tag: 0.59.X-distroless-libc
56
log_max_size: 10m
57
log_max_file: 3