bob/roles/grocy/templates/docker-compose.yaml.j2
Marty Oehme e32f2366c8
roles: Make domain global variable
Each role has their own subdomains which can be set manually, or can
inherit from the global domain with a default prefix.
2025-07-17 18:08:54 +02:00

24 lines
562 B
Django/Jinja

services:
sonarr:
container_name: grocy
image: lscr.io/linuxserver/grocy:latest
networks:
- caddy
environment:
- PUID={{ stack_grocy_puid }}
- PGID={{ stack_grocy_pgid }}
- TZ={{ stack_grocy_tz }}
- UMASK_SET={{ stack_grocy_umask_set }}
volumes:
- "{{ arrstack_env_dir }}/config/grocy:/config"
restart: unless-stopped
labels:
caddy: "{{ stack_grocy_subdomain }}"
caddy.reverse_proxy: "{{ '{{' }}upstreams 80{{ '}}'}}"
networks:
caddy:
external: true
volumes:
caddy_data: {}