feat: add Hoarder service deployment with Docker Compose and 1Password integration
Some checks failed
Nix Format Check / check-format (push) Has been cancelled

This commit is contained in:
2025-03-11 20:16:36 +01:00
parent db5e18f453
commit 18ef12d9b3
3 changed files with 101 additions and 2 deletions

View File

@@ -0,0 +1,37 @@
services:
web:
image: ghcr.io/hoarder-app/hoarder:${HOARDER_VERSION:-release}
restart: unless-stopped
volumes:
- {{ hoarder_data_dir }}/hoarder:/data
ports:
- 3500:3000
env_file:
- .env
environment:
MEILI_ADDR: http://meilisearch:7700
BROWSER_WEB_URL: http://chrome:9222
OPENAI_API_KEY: {{ lookup('onepassword', ref="op://j7nmhqlsjmp2r6umly5t75hzb4/Hoarder/OPENAI_API_KEY") }}
DATA_DIR: /data
chrome:
image: zenika/alpine-chrome:124
restart: unless-stopped
command:
- --no-sandbox
- --disable-gpu
- --disable-dev-shm-usage
- --remote-debugging-address=0.0.0.0
- --remote-debugging-port=9222
- --hide-scrollbars
meilisearch:
image: getmeili/meilisearch:v1.11.1
restart: unless-stopped
env_file:
- .env
environment:
MEILI_NO_ANALYTICS: "true"
volumes:
- {{ hoarder_data_dir }}/meilisearch:/meili_data