* Update all import paths * Rename directory cmd/wpcomposer/ → cmd/wppackages/ * Rename import alias wpcomposergo → wppackagesgo in main.go and migrate_test.go * Makefile — binary name wpcomposer → wppackages * Update Air path * Global replace repo.wp-composer.com → repo.wp-packages.org * Global replace cdn.wp-composer.com → cdn.wp-packages.org * Global replace wp-composer.com → wp-packages.org (remaining) * Composer repo key in templates/docs: repositories.wp-composer → repositories.wp-packages * Rename columns on the existing schema * Update all Go code referencing these column names * Routes & SEO * Templates & front-end * Admin UI * Documentation * CI/CD * Config defaults * Rename role directory * Rename all systemd template files inside the role * Update contents of all .j2 templates — service names, binary paths, descriptions * Update tasks/main.yml and handlers/main.yml in the role * Update deploy/ansible/roles/app/tasks/main.yml and deploy.yml * Update deploy/ansible/group_vars/production/main.yml * Additional renames/fixes * Additional renames/fixes * Additional renames/fixes * not needed
47 lines
926 B
YAML
47 lines
926 B
YAML
# Application
|
|
app_name: wp-packages
|
|
app_domain: wp-packages.org
|
|
app_root: /srv/wp-packages
|
|
app_env: production
|
|
app_debug: "false"
|
|
app_url: "https://{{ app_domain }}"
|
|
|
|
# Users (GitHub usernames — public keys fetched during provisioning)
|
|
users:
|
|
- retlehs
|
|
- swalkinshaw
|
|
- log1x
|
|
- qwp6t
|
|
|
|
# Go binary
|
|
go_binary_name: wppackages
|
|
go_listen_addr: "127.0.0.1:8080"
|
|
go_upstream_addr: "127.0.0.1:8080"
|
|
go_log_level: info
|
|
|
|
# SQLite
|
|
db_path: "{{ app_root }}/shared/storage/wppackages.db"
|
|
|
|
# Caddy
|
|
caddy_email: "team@roots.io"
|
|
|
|
# R2
|
|
wp_packages_deploy_r2: "true"
|
|
r2_cdn_public_url: "https://cdn.wp-packages.org"
|
|
|
|
# Litestream
|
|
litestream_version: "0.5.10"
|
|
|
|
# Sessions
|
|
session_lifetime_minutes: 7200
|
|
|
|
# Repository
|
|
repository_path: "{{ app_root }}/shared/storage/repository"
|
|
|
|
# Seeds
|
|
seeds_file: "{{ app_root }}/current/seeds.yaml"
|
|
|
|
# Scheduling
|
|
pipeline_schedule: "*:0/5"
|
|
aggregate_schedule: hourly
|
|
cleanup_sessions_schedule: daily
|