feat: add ByteStash service for code snippet management
- Add ByteStash Docker service configuration and deployment - Configure subdomain routing through Caddy - Add DNS record for ByteStash subdomain - Update development service category to include ByteStash 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
19
roles/docker/tasks/development/bytestash.yml
Normal file
19
roles/docker/tasks/development/bytestash.yml
Normal file
@ -0,0 +1,19 @@
|
||||
- name: make bytestash directories
|
||||
ansible.builtin.file:
|
||||
path: "{{ item}}"
|
||||
state: directory
|
||||
loop:
|
||||
- /opt/stacks/bytestash
|
||||
|
||||
- name: Template out the compose file
|
||||
ansible.builtin.template:
|
||||
src: bytestash-compose.yml.j2
|
||||
dest: /opt/stacks/bytestash/compose.yml
|
||||
owner: root
|
||||
mode: 644
|
||||
|
||||
- name: deploy bytestash stack
|
||||
community.docker.docker_compose_v2:
|
||||
project_src: /opt/stacks/bytestash
|
||||
files:
|
||||
- compose.yml
|
@ -9,3 +9,7 @@
|
||||
import_tasks: codeserver.yml
|
||||
tags: codeserver
|
||||
|
||||
- name: Install bytestash
|
||||
import_tasks: bytestash.yml
|
||||
tags: bytestash
|
||||
|
||||
|
Reference in New Issue
Block a user