mirror of
https://gitlab.sarex.io/infra/terraform-contour-mirror.git
synced 2026-10-19 14:31:36 +03:00
vad: django + documentations
django and documentations get postgres, rabbitmq (django + a shared cde vhost that documentations' hasher/marks depend on), and rsa_keys (already enabled). Kafka for django uses the self-contained generate:true path, same reasoning as notes/contracts. S3 for both uses the eav admin credentials directly (per explicit instruction) rather than the two-push bucket dance - buckets are still ordered via live/s3 so they physically exist, but the vault secret is wired with the admin key/secret right away. documentations also needs two extra django_auth fields it reads as raw JSON (documentations_s3_service_account_json and _zitadel_account_json - a structurally-valid but non-functional placeholder RSA key, same approach used for sarex-contour, since the app only needs a decodable PEM at startup, not a working Zitadel integration). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
parent
92216914d8
commit
51fd8b275a
File diff suppressed because one or more lines are too long
@ -679,6 +679,12 @@ environments:
|
|||||||
- name: contracts
|
- name: contracts
|
||||||
manage: false
|
manage: false
|
||||||
image_pull_secret: true
|
image_pull_secret: true
|
||||||
|
- name: django
|
||||||
|
manage: false
|
||||||
|
image_pull_secret: true
|
||||||
|
- name: documentations
|
||||||
|
manage: false
|
||||||
|
image_pull_secret: true
|
||||||
|
|
||||||
postgresql:
|
postgresql:
|
||||||
default_host: 192.168.8.131
|
default_host: 192.168.8.131
|
||||||
@ -790,6 +796,30 @@ environments:
|
|||||||
password_special: false
|
password_special: false
|
||||||
conn_limit: 20
|
conn_limit: 20
|
||||||
|
|
||||||
|
- cluster_id: main
|
||||||
|
database:
|
||||||
|
name: django
|
||||||
|
extensions: []
|
||||||
|
user:
|
||||||
|
name: django
|
||||||
|
password_length: 32
|
||||||
|
password_special: false
|
||||||
|
conn_limit: 20
|
||||||
|
|
||||||
|
- cluster_id: main
|
||||||
|
database:
|
||||||
|
name: documentations
|
||||||
|
extensions:
|
||||||
|
- ltree
|
||||||
|
- uuid-ossp
|
||||||
|
- pg_stat_statements
|
||||||
|
- timescaledb
|
||||||
|
user:
|
||||||
|
name: documentations
|
||||||
|
password_length: 32
|
||||||
|
password_special: false
|
||||||
|
conn_limit: 20
|
||||||
|
|
||||||
minio:
|
minio:
|
||||||
endpoint: http://192.168.8.121:9000
|
endpoint: http://192.168.8.121:9000
|
||||||
|
|
||||||
@ -806,6 +836,12 @@ environments:
|
|||||||
- name: contracts
|
- name: contracts
|
||||||
acl: private
|
acl: private
|
||||||
|
|
||||||
|
- name: django
|
||||||
|
acl: private
|
||||||
|
|
||||||
|
- name: documentations
|
||||||
|
acl: private
|
||||||
|
|
||||||
kafka:
|
kafka:
|
||||||
create_acls: false
|
create_acls: false
|
||||||
kafka_cluster_refs:
|
kafka_cluster_refs:
|
||||||
@ -838,6 +874,8 @@ environments:
|
|||||||
- name: notes
|
- name: notes
|
||||||
- name: rfi
|
- name: rfi
|
||||||
- name: contracts
|
- name: contracts
|
||||||
|
- name: django
|
||||||
|
- name: cde
|
||||||
users:
|
users:
|
||||||
- name: notes
|
- name: notes
|
||||||
password_length: 32
|
password_length: 32
|
||||||
@ -845,6 +883,10 @@ environments:
|
|||||||
password_length: 32
|
password_length: 32
|
||||||
- name: contracts
|
- name: contracts
|
||||||
password_length: 32
|
password_length: 32
|
||||||
|
- name: django
|
||||||
|
password_length: 32
|
||||||
|
- name: cde
|
||||||
|
password_length: 32
|
||||||
permissions:
|
permissions:
|
||||||
- vhost: notes
|
- vhost: notes
|
||||||
user: notes
|
user: notes
|
||||||
@ -861,6 +903,16 @@ environments:
|
|||||||
configure: ".*"
|
configure: ".*"
|
||||||
write: ".*"
|
write: ".*"
|
||||||
read: ".*"
|
read: ".*"
|
||||||
|
- vhost: django
|
||||||
|
user: django
|
||||||
|
configure: ".*"
|
||||||
|
write: ".*"
|
||||||
|
read: ".*"
|
||||||
|
- vhost: cde
|
||||||
|
user: cde
|
||||||
|
configure: ".*"
|
||||||
|
write: ".*"
|
||||||
|
read: ".*"
|
||||||
|
|
||||||
sarex-contour:
|
sarex-contour:
|
||||||
postgresql:
|
postgresql:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user