Files
ansible/roles/docker/templates/grocy-compose.yml.j2
Phil f71ded1a01 feat: add Grocy kitchen ERP service
- Add grocy subdomain to domains.yml
- Create Docker Compose template using LinuxServer image
- Add Ansible task for service deployment
- Configure Caddy reverse proxy with Authentik auth and API bypass
- Add DNS record for grocy subdomain
- Integrate with productivity services category

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-28 08:47:28 -06:00

30 lines
710 B
Django/Jinja

services:
grocy:
image: lscr.io/linuxserver/grocy:latest
container_name: grocy
restart: unless-stopped
environment:
- PUID=1000
- PGID=1000
- TZ=America/Denver
volumes:
- ./config:/config
extra_hosts:
- "host.docker.internal:host-gateway"
- "{{ subdomains.auth }}:{{ docker.hairpin_ip }}"
labels:
glance.name: Grocy
glance.icon: si:grocyapp
glance.url: https://{{ subdomains.grocy }}/
glance.description: Kitchen ERP and inventory management
glance.id: grocy
mag37.dockcheck.update: true
volumes:
grocy_config:
driver: local
networks:
default:
external: true
name: {{ docker.network_name }}