2024-09-26 22:02:36 +00:00
|
|
|
---
|
|
|
|
wiki_js_svc:
|
2024-10-18 23:01:15 +00:00
|
|
|
domain: "{{ all_services | service_get_domain(role_name) }}"
|
2024-09-26 22:02:36 +00:00
|
|
|
port: 3000
|
|
|
|
caddy_extra: |
|
|
|
|
import analytics
|
|
|
|
db:
|
|
|
|
host: "{{ postgres.host }}"
|
|
|
|
port: "{{ postgres.port }}"
|
2024-09-28 19:26:13 +00:00
|
|
|
user: "{{ opentofu.postgresql_data.wiki_js.user }}"
|
|
|
|
pass: "{{ opentofu.postgresql_data.wiki_js.pass }}"
|
|
|
|
name: "{{ opentofu.postgresql_data.wiki_js.database }}"
|
2024-09-26 22:02:36 +00:00
|
|
|
|
|
|
|
wiki_js_env:
|
|
|
|
DB_TYPE: postgres
|
|
|
|
DB_HOST: "{{ svc.db.host }}"
|
|
|
|
DB_PORT: "{{ svc.db.port }}"
|
|
|
|
DB_USER: "{{ svc.db.user }}"
|
|
|
|
DB_PASS: "{{ svc.db.pass }}"
|
|
|
|
DB_NAME: "{{ svc.db.name }}"
|
|
|
|
DB_SSL: 1
|
|
|
|
|
|
|
|
wiki_js_compose:
|
|
|
|
watchtower: true
|
|
|
|
image: requarks/wiki
|