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:
25
roles/docker/tasks/productivity/mmdl.yml
Normal file
25
roles/docker/tasks/productivity/mmdl.yml
Normal file
@ -0,0 +1,25 @@
|
||||
---
|
||||
- name: Create mmdl directories
|
||||
ansible.builtin.file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
loop:
|
||||
- /opt/stacks/mmdl
|
||||
- /opt/stacks/mmdl/data
|
||||
- /opt/stacks/mmdl/mysql
|
||||
|
||||
- name: Template mmdl environment file
|
||||
ansible.builtin.template:
|
||||
src: mmdl-env.j2
|
||||
dest: /opt/stacks/mmdl/.env.local
|
||||
|
||||
- name: Template mmdl compose file
|
||||
ansible.builtin.template:
|
||||
src: mmdl-compose.yml.j2
|
||||
dest: /opt/stacks/mmdl/compose.yml
|
||||
|
||||
- name: Deploy mmdl stack
|
||||
community.docker.docker_compose_v2:
|
||||
project_src: /opt/stacks/mmdl
|
||||
files:
|
||||
- compose.yml
|
Reference in New Issue
Block a user