26 lines
528 B
YAML
26 lines
528 B
YAML
|
---
|
||
|
version: "3"
|
||
|
services:
|
||
|
grocy:
|
||
|
image: lscr.io/linuxserver/grocy
|
||
|
container_name: grocy
|
||
|
environment:
|
||
|
- PUID=${PUID}
|
||
|
- PGID=${PGID}
|
||
|
- TZ=${TIMEZONE}
|
||
|
volumes:
|
||
|
- /srv/grocy:/config
|
||
|
restart: unless-stopped
|
||
|
networks:
|
||
|
- proxy
|
||
|
- default
|
||
|
labels:
|
||
|
- "traefik.enable=true"
|
||
|
- "traefik.docker.network=proxy"
|
||
|
- "traefik.http.routers.grocy.entrypoints=websecure"
|
||
|
- "traefik.http.routers.grocy.rule=Host(${HOST})"
|
||
|
|
||
|
networks:
|
||
|
proxy:
|
||
|
external: true
|