feat: Add paperclip-docker Ansible role for RTX 3090
Deploy Paperclip AI with PostgreSQL, nginx reverse proxy, and Cloudflare SSL/TLS on illuminations.wdw-labs.cloud. Configured for local_trusted mode (LAN-only, no auth) with host networking and auto-generated secrets. Stack: PostgreSQL 16 + Paperclip + nginx + certbot Hostname: muppet-vision.wdw-labs.cloud vLLM endpoint: localhost:8000 (DeepSeek-R1-32B Q4)
This commit is contained in:
1 parent
8778a3bbb0
commit
f701ad823f
13 files changed
+1093
-124
No files matched your search
@@ -0,0 +1,72 @@
|
||||
---
|
||||
- name: Deploy Paperclip stack with nginx and certbot
|
||||
hosts: illuminations
|
||||
become: true
|
||||
vars_files:
|
||||
- "{{ playbook_dir }}/../group_vars/all/vars"
|
||||
- "{{ playbook_dir }}/../group_vars/all/vault"
|
||||
|
||||
roles:
|
||||
- docker-host
|
||||
- paperclip-docker
|
||||
|
||||
post_tasks:
|
||||
- name: Verify Paperclip stack is running
|
||||
community.docker.docker_container_info:
|
||||
name: "{{ item }}"
|
||||
register: container_status
|
||||
loop:
|
||||
- paperclip
|
||||
- paperclip-nginx
|
||||
- paperclip-certbot
|
||||
failed_when: container_status.containers | length == 0
|
||||
changed_when: false
|
||||
|
||||
- name: Verify Docker is available
|
||||
command: docker --version
|
||||
register: docker_version
|
||||
changed_when: false
|
||||
|
||||
- name: Show Docker version
|
||||
debug:
|
||||
msg: "Docker version: {{ docker_version.stdout }}"
|
||||
|
||||
- name: Verify docker-compose plugin is available
|
||||
command: docker compose version
|
||||
register: compose_version
|
||||
changed_when: false
|
||||
ignore_errors: true
|
||||
|
||||
- name: Show docker-compose version
|
||||
debug:
|
||||
msg: "Docker Compose version: {{ compose_version.stdout | default('docker-compose plugin not found') }}"
|
||||
|
||||
- name: Display deployment summary
|
||||
debug:
|
||||
msg: |
|
||||
Paperclip stack deployed successfully!
|
||||
|
||||
Access points:
|
||||
- HTTPS: https://{{ paperclip_domain }}
|
||||
- HTTP (redirects to HTTPS): http://{{ paperclip_domain }}
|
||||
|
||||
Services:
|
||||
- Paperclip: {{ paperclip_host }}:{{ paperclip_port }}
|
||||
- nginx (reverse proxy): 0.0.0.0:443 / 0.0.0.0:80
|
||||
- certbot: Running certificate renewal checks
|
||||
|
||||
Data location:
|
||||
- {{ paperclip_base_path }}/data
|
||||
|
||||
Certificates:
|
||||
- {{ paperclip_certs_dir }}/live/{{ paperclip_domain }}/
|
||||
|
||||
vLLM endpoint:
|
||||
- {{ vllm_endpoint }}
|
||||
|
||||
Next steps:
|
||||
1. Verify DNS resolution for {{ paperclip_domain }}
|
||||
2. Visit https://{{ paperclip_domain }} to access Paperclip
|
||||
3. Configure Paperclip with OpenCode adapter (should auto-detect vLLM at {{ vllm_endpoint }})
|
||||
4. Set up Hermes Gateway on Mac Studio
|
||||
5. Configure agents and skills
|
||||
Reference in new issue
Block a user