Add the Affine playbook

This commit is contained in:
tanshu committed 2026-10-18 21:35:52 +05:30
1 parent a9ac51bd43
commit 34cb4aa3dc
8 files changed
+164

No files matched your search

+28
View File
@@ -0,0 +1,28 @@
---
host: "wiki.tanshu.com"
revision: stable
docker_image: "ghcr.io/toeverything/affine-graphql:{{ revision }}"
docker_container: affine
docker_network: "{{ docker_container }}_net"
migration_image: "ghcr.io/toeverything/affine-graphql:{{ revision }}"
migration_container: affine-migration
postgres_container: postgres
redis_container: valkey
db_name: "affine"
db_username: "postgres"
db_password: "123456"
db_url: "postgresql://{{ db_username }}:{{ db_password }}@{{ postgres_container }}:5432/{{ db_name }}"
host_directory: affine
# Caddy configuration
caddy_container: caddy
caddyfile_path: /var/lib/caddy/conf/Caddyfile
snippet_block: |
{{ host }} {
reverse_proxy {{ docker_container }}:3010
}