refactor: reorganize docker role into logical service groups
Break down the monolithic main.yml (176 lines) into organized service categories: - infrastructure/ (caddy, authentik, dockge) - Core platform components - development/ (gitea, codeserver, conduit) - Development tools - media/ (audiobookshelf, calibre, ghost, pinchflat, etc.) - Content services - productivity/ (paperless, baikal, syncthing, mmdl, etc.) - Personal organization - monitoring/ (glance, changedetection, appriseapi) - System monitoring - communication/ (gotosocial, postiz) - Social/messaging services Benefits: - Improved maintainability with logical grouping - Better dependency management between service categories - Enhanced tag-based deployment (can deploy by category) - Cleaner organization for 25+ services All individual service tags remain functional for backwards compatibility. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
19
roles/docker/tasks/productivity/dawarich.yml
Normal file
19
roles/docker/tasks/productivity/dawarich.yml
Normal file
@ -0,0 +1,19 @@
|
||||
- name: make dawarich directories
|
||||
ansible.builtin.file:
|
||||
path: "{{ item}}"
|
||||
state: directory
|
||||
loop:
|
||||
- /opt/stacks/dawarich
|
||||
|
||||
- name: Template out the compose file
|
||||
ansible.builtin.template:
|
||||
src: dawarich-compose.yml.j2
|
||||
dest: /opt/stacks/dawarich/compose.yml
|
||||
owner: root
|
||||
mode: 644
|
||||
|
||||
- name: deploy dawarich stack
|
||||
community.docker.docker_compose_v2:
|
||||
project_src: /opt/stacks/dawarich
|
||||
files:
|
||||
- compose.yml
|
Reference in New Issue
Block a user