Files
coolify/templates/compose/hoarder.yaml
David R d1604eacd3 Add important env variables
OPENAI_API_KEY is necessary for AI tagging, and DISABLE_SIGNUPS is very commonly needed.
2024-11-17 10:29:26 -05:00

47 lines
1.5 KiB
YAML

# documentation: https://docs.hoarder.app/
# slogan: an open source "Bookmark Everything" app that uses AI for automatically tagging the content you throw at it.
# tags: media,read-it-later,pocket-alternative,omnivore-alternative,instapaper-alternative
# logo: svgs/hoarder.svg
# port: 3000
services:
web:
image: ghcr.io/hoarder-app/hoarder:release
volumes:
- hoarder-data:/data
environment:
- SERVICE_FQDN_HOARDER
- NEXTAUTH_SECRET=${SERVICE_PASSWORD_HOARDERNEXTAUTH}
- MEILI_MASTER_KEY=${SERVICE_PASSWORD_MEILI}
- NEXTAUTH_URL=${SERVICE_FQDN_HOARDER}
- MEILI_ADDR=http://meilisearch:7700
- BROWSER_WEB_URL=http://chrome:9222
- OPENAI_API_KEY=${SERVICE_OPENAI_API_KEY}
- DISABLE_SIGNUPS=${SERVICE_DISABLE_SIGNUPS}
- DATA_DIR=/data
chrome:
image: gcr.io/zenika-hub/alpine-chrome:124
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.6
environment:
- MEILI_NO_ANALYTICS=${MEILI_NO_ANALYTICS:-true}
- NEXTAUTH_SECRET=${SERVICE_PASSWORD_HOARDERNEXTAUTH}
- MEILI_MASTER_KEY=${SERVICE_PASSWORD_MEILI}
- NEXTAUTH_URL=${SERVICE_FQDN_HOARDER}
volumes:
- hoarder-meilisearch:/meili_data
healthcheck:
test: ["CMD", "curl", "-f", "http://127.0.0.1:7700/health"]
interval: 2s
timeout: 10s
retries: 15