37 lines
1.1 KiB
YAML
37 lines
1.1 KiB
YAML
---
|
|
registry: registry.tanshu.com
|
|
username: ta-registry
|
|
password: ff28a01f00c0f39315d94cd9dcb1e554968dba25676a8ea5f2be34e96a9a099f
|
|
|
|
title: mozimo
|
|
tag: latest
|
|
|
|
host_directory: "/var/lib/{{ title }}-staging"
|
|
|
|
www_host: "staging.mozimo.in"
|
|
www_port: 3000
|
|
cms_host: "cms.mozimo.in"
|
|
cms_port: 8090
|
|
|
|
docker_network: "{{ title }}_net"
|
|
|
|
# image tag: deploy.sh passes -e image_tag=<commit>; "tag" is the fallback
|
|
# when running the playbook by hand — rollback = -e image_tag=<older-commit>
|
|
docker_image: "{{ registry }}/{{ title }}:{{ image_tag | default(tag) }}"
|
|
docker_container: "{{ title }}-staging"
|
|
|
|
# self-hosted first-party analytics (Vince) — script/events proxied at
|
|
# /stats/* on the www host, dashboard published on stats_host
|
|
vince_container: vince
|
|
vince_port: 8000
|
|
vince_admin_name: admin
|
|
# change this before first deploy — it (re)sets the dashboard login
|
|
vince_admin_password: "ChangeMe-Vince-2025!"
|
|
vince_site_domain: mozimo.in
|
|
stats_host: stats.mozimo.in
|
|
|
|
# caddy publishes www (SSR + /api/* + /_/* -> pocketbase) and cms (admin)
|
|
|
|
caddy_container: caddy
|
|
caddyfile_path: /var/lib/caddy/conf/Caddyfile
|